org.jdiameter.server.impl
Class MetaDataImpl.ServerLocalPeer

java.lang.Object
  extended by org.jdiameter.common.impl.controller.AbstractPeer
      extended by org.jdiameter.client.impl.MetaDataImpl.ClientLocalPeer
          extended by org.jdiameter.server.impl.MetaDataImpl.ServerLocalPeer
All Implemented Interfaces:
java.lang.Comparable<Peer>, Peer, IPeer
Enclosing class:
MetaDataImpl

protected class MetaDataImpl.ServerLocalPeer
extends MetaDataImpl.ClientLocalPeer


Field Summary
protected  ISessionFactory factory
           
protected  IMutablePeerTable manager
           
protected  INetwork net
           
 
Fields inherited from class org.jdiameter.client.impl.MetaDataImpl.ClientLocalPeer
addresses, hopByHopId
 
Fields inherited from class org.jdiameter.common.impl.controller.AbstractPeer
INT_COMMON_APP_ID, perSecondRecords, statistic, statisticFactory, uid, uri
 
Constructor Summary
MetaDataImpl.ServerLocalPeer(IStatisticManager statisticFactory)
           
 
Method Summary
 java.util.Set<ApplicationId> getCommonApplications()
           
 java.net.InetAddress[] getIPAddresses()
           
 boolean sendMessage(IMessage message)
          Send message to diameter network
 
Methods inherited from class org.jdiameter.client.impl.MetaDataImpl.ClientLocalPeer
addConnectionListener, addMessage, addPeerStateListener, addStateChangeListener, connect, disconnect, getFirmware, getHopByHopIdentifier, getProductName, getRating, getRealmName, getState, getStatistic, getUri, getVendorId, handleMessage, hasValidConnection, isConnected, remAllMessage, remConnectionListener, remMessage, removePeerStateListener, remStateChangeListener, resetAddresses, setRealm, toString
 
Methods inherited from class org.jdiameter.common.impl.controller.AbstractPeer
compareTo, createPeerStatistics, removePeerStatistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

net

protected INetwork net

manager

protected IMutablePeerTable manager

factory

protected ISessionFactory factory
Constructor Detail

MetaDataImpl.ServerLocalPeer

public MetaDataImpl.ServerLocalPeer(IStatisticManager statisticFactory)
Method Detail

getCommonApplications

public java.util.Set<ApplicationId> getCommonApplications()
Specified by:
getCommonApplications in interface Peer
Overrides:
getCommonApplications in class MetaDataImpl.ClientLocalPeer

getIPAddresses

public java.net.InetAddress[] getIPAddresses()
Specified by:
getIPAddresses in interface Peer
Overrides:
getIPAddresses in class MetaDataImpl.ClientLocalPeer

sendMessage

public boolean sendMessage(IMessage message)
                    throws TransportException,
                           OverloadException
Description copied from interface: IPeer
Send message to diameter network

Specified by:
sendMessage in interface IPeer
Overrides:
sendMessage in class MetaDataImpl.ClientLocalPeer
Parameters:
message - request instance
Returns:
true if message will be set to FSM
Throws:
TransportException
OverloadException


Copyright © 2014. All Rights Reserved.