org.jdiameter.client.api.controller
Interface IRealm

All Superinterfaces:
Realm
All Known Implementing Classes:
RealmImpl

public interface IRealm
extends Realm

Author:
Bartosz Baranowski , Alexandre Mendonca

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.
 java.lang.String[] getPeerNames()
          Return list of real peers
 boolean hasPeerName(java.lang.String name)
          Checks if a peer name belongs to this realm
 void removePeerName(java.lang.String name)
          Remove peer from this realm
 
Methods inherited from interface org.jdiameter.api.Realm
getApplicationId, getExpirationTime, getLocalAction, getName, isDynamic, isLocal
 

Method Detail

getPeerNames

java.lang.String[] getPeerNames()
Return list of real peers

Returns:
array of realm peers

addPeerName

void addPeerName(java.lang.String name)
Append new host (peer) to this realm

Parameters:
host - name of peer host

removePeerName

void removePeerName(java.lang.String name)
Remove peer from this realm

Parameters:
host - name of peer host

hasPeerName

boolean hasPeerName(java.lang.String name)
Checks if a peer name belongs to this realm

Parameters:
name - name of peer host
Returns:
true if the the peer belongs to this realm, false otherwise

getAgent

IAgent getAgent()
Get the processing agent for this realm

Returns:
the agent for this realm, if any

getAgentConfiguration

IAgentConfiguration getAgentConfiguration()
Get agent configuration values for this realm.

Returns:


Copyright © 2014. All Rights Reserved.