|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdiameter.client.impl.controller.RealmImpl
public class RealmImpl
The Realm class implements rows in the Diameter Realm routing table.
| Field Summary | |
|---|---|
protected LocalAction |
action
|
protected IAgent |
agent
|
protected IAgentConfiguration |
agentConfiguration
|
protected ApplicationId |
appId
|
protected boolean |
dynamic
|
protected long |
expirationTime
|
protected java.util.Collection<java.lang.String> |
hosts
|
protected java.lang.String |
name
|
| Constructor Summary | |
|---|---|
RealmImpl(java.lang.String name,
ApplicationId applicationId,
LocalAction localAction,
IAgent agent,
IAgentConfiguration agentConfiguration,
boolean dynamic,
long expirationTime,
java.lang.String... hosts)
|
|
| Method Summary | |
|---|---|
void |
addPeerName(java.lang.String name)
Append new host (peer) to this realm |
IAgent |
getAgent()
Get the processing agent for this realm |
IAgentConfiguration |
getAgentConfiguration()
Get agent configuration values for this realm. |
ApplicationId |
getApplicationId()
Return applicationId associated with this realm |
long |
getExpirationTime()
Return expiration time for this realm in milisec |
LocalAction |
getLocalAction()
Return realm local action for this realm |
java.lang.String |
getName()
Return name of this realm |
java.lang.String[] |
getPeerNames()
Return list of real peers |
boolean |
hasPeerName(java.lang.String name)
Checks if a peer name belongs to this realm |
boolean |
isDynamic()
Return true if this realm is dynamic updated |
boolean |
isLocal()
|
void |
removePeerName(java.lang.String s)
Remove peer from this realm |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected ApplicationId appId
protected LocalAction action
protected boolean dynamic
protected long expirationTime
protected java.util.Collection<java.lang.String> hosts
protected IAgent agent
protected IAgentConfiguration agentConfiguration
| Constructor Detail |
|---|
public RealmImpl(java.lang.String name,
ApplicationId applicationId,
LocalAction localAction,
IAgent agent,
IAgentConfiguration agentConfiguration,
boolean dynamic,
long expirationTime,
java.lang.String... hosts)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface Realmpublic ApplicationId getApplicationId()
getApplicationId in interface Realmpublic LocalAction getLocalAction()
getLocalAction in interface Realmpublic java.lang.String[] getPeerNames()
getPeerNames in interface IRealmpublic void addPeerName(java.lang.String name)
addPeerName in interface IRealmhost - name of peer hostpublic void removePeerName(java.lang.String s)
removePeerName in interface IRealmhost - name of peer hostpublic boolean isDynamic()
isDynamic in interface Realmpublic long getExpirationTime()
getExpirationTime in interface Realmpublic boolean hasPeerName(java.lang.String name)
IRealm
hasPeerName in interface IRealmname - name of peer host
public IAgent getAgent()
IRealm
getAgent in interface IRealmpublic IAgentConfiguration getAgentConfiguration()
IRealm
getAgentConfiguration in interface IRealmpublic boolean isLocal()
isLocal in interface Realmpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||