org.jdiameter.server.api
Interface IPeer

All Superinterfaces:
IPeer, org.jdiameter.api.Peer

public interface IPeer
extends IPeer

This interface describe extends methods of base class


Method Summary
 void addIncomingConnection(IConnection conn)
          Add new network connection (wait CER/CEA)
 IConnection getConnection()
          Return peer connection
 IContext getContext()
          Return action context
 org.jdiameter.api.Statistic getStatistic()
          Return peer statistic
 boolean isAttemptConnection()
          Return true if peer must start reconnect procedure
 void notifyOvrManager(IOverloadManager ovrManager)
          Set overload manager
 void setElection(boolean isElection)
          Set result of election
 
Methods inherited from interface org.jdiameter.client.api.controller.IPeer
addConnectionListener, addMessage, addStateChangeListener, getHopByHopIdentifier, getRaiting, hasValidConnection, remAllMessage, remConnectionListener, remMessage, remStateChangeListener, sendMessage, setRealm
 
Methods inherited from interface org.jdiameter.api.Peer
addPeerStateListener, connect, disconnect, getCommonApplications, getFirmware, getIPAddresses, getProductName, getRealmName, getState, getUri, getVendorId, removePeerStateListener
 

Method Detail

getStatistic

org.jdiameter.api.Statistic getStatistic()
Return peer statistic

Returns:
peer statistic

isAttemptConnection

boolean isAttemptConnection()
Return true if peer must start reconnect procedure

Returns:
true if peer must start reconnect procedure

getContext

IContext getContext()
Return action context


getConnection

IConnection getConnection()
Return peer connection

Returns:
peer connection

addIncomingConnection

void addIncomingConnection(IConnection conn)
Add new network connection (wait CER/CEA)

Parameters:
conn - new network connection

setElection

void setElection(boolean isElection)
Set result of election

Parameters:
isElection - result of election

notifyOvrManager

void notifyOvrManager(IOverloadManager ovrManager)
Set overload manager

Parameters:
ovrManager - overload manager


Copyright © 2008. All Rights Reserved.