public class RealmTableImpl extends Object implements IRealmTable
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
allRealmsSet |
protected IAssembler |
assembler |
protected String |
localHost |
protected String |
localRealmName |
protected Map<String,org.jdiameter.client.impl.controller.RealmTableImpl.RealmSet> |
realmNameToRealmSet |
| Constructor and Description |
|---|
RealmTableImpl(IContainer con) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocalApplicationId(ApplicationId appId) |
void |
addLocalRealm(String localRealm,
String fqdn) |
protected void |
addRealm(Realm realm) |
Realm |
addRealm(String realmName,
ApplicationId applicationId,
LocalAction action,
IAgentConfiguration agentConf,
boolean dynamic,
long expirationTime,
String[] hosts)
Method which accepts IAgentConfiguration to avoid decode, encode, decode sequences
|
Realm |
addRealm(String realmName,
ApplicationId applicationId,
LocalAction action,
String agentConfiguration,
boolean dynamic,
long expirationTime,
String[] hosts) |
Realm |
getRealm(String realmName,
ApplicationId applicationId) |
String |
getRealmForPeer(String fqdn) |
Collection<Realm> |
getRealms() |
Collection<Realm> |
getRealms(String realmName) |
protected org.jdiameter.client.impl.controller.RealmTableImpl.RealmSet |
getRealmSet(String pKey,
boolean create) |
Statistic |
getStatistic(String realmName) |
boolean |
isWrapperFor(Class<?> iface) |
Realm |
matchRealm(IAnswer message,
String destRealm) |
protected Realm |
matchRealm(IMessage message,
String realm) |
Realm |
matchRealm(IRequest request) |
boolean |
realmExists(String realmName) |
void |
removeLocalApplicationId(ApplicationId appId) |
Collection<Realm> |
removeRealm(String realmName) |
Realm |
removeRealmApplicationId(String realmName,
ApplicationId appId) |
<T> T |
unwrap(Class<T> iface) |
protected Map<String,org.jdiameter.client.impl.controller.RealmTableImpl.RealmSet> realmNameToRealmSet
protected String localRealmName
protected String localHost
protected IAssembler assembler
public RealmTableImpl(IContainer con)
public boolean realmExists(String realmName)
realmExists in interface RealmTablepublic Realm addRealm(String realmName, ApplicationId applicationId, LocalAction action, String agentConfiguration, boolean dynamic, long expirationTime, String[] hosts) throws InternalException
addRealm in interface RealmTableInternalExceptionpublic Realm addRealm(String realmName, ApplicationId applicationId, LocalAction action, IAgentConfiguration agentConf, boolean dynamic, long expirationTime, String[] hosts) throws InternalException
IRealmTableaddRealm in interface IRealmTableInternalExceptionpublic Realm getRealm(String realmName, ApplicationId applicationId)
getRealm in interface IRealmTablepublic Realm removeRealmApplicationId(String realmName, ApplicationId appId)
removeRealmApplicationId in interface IRealmTablepublic Collection<Realm> removeRealm(String realmName)
removeRealm in interface IRealmTablepublic Collection<Realm> getRealms(String realmName)
getRealms in interface IRealmTablepublic Collection<Realm> getRealms()
getRealms in interface IRealmTablepublic Realm matchRealm(IRequest request)
matchRealm in interface IRealmTablepublic Realm matchRealm(IAnswer message, String destRealm)
matchRealm in interface IRealmTablepublic String getRealmForPeer(String fqdn)
getRealmForPeer in interface IRealmTablepublic void addLocalApplicationId(ApplicationId appId)
addLocalApplicationId in interface IRealmTableappId - public void removeLocalApplicationId(ApplicationId appId)
removeLocalApplicationId in interface IRealmTableappId - public void addLocalRealm(String localRealm, String fqdn)
addLocalRealm in interface IRealmTablelocalRealm - fqdn - protected void addRealm(Realm realm) throws InternalException
InternalExceptionprotected org.jdiameter.client.impl.controller.RealmTableImpl.RealmSet getRealmSet(String pKey, boolean create)
public Statistic getStatistic(String realmName)
getStatistic in interface RealmTablepublic boolean isWrapperFor(Class<?> iface) throws InternalException
isWrapperFor in interface WrapperInternalExceptionpublic <T> T unwrap(Class<T> iface) throws InternalException
unwrap in interface WrapperInternalExceptionCopyright © 2016. All Rights Reserved.