org.jdiameter.common.impl.controller
Class AbstractPeer
java.lang.Object
org.jdiameter.common.impl.controller.AbstractPeer
- All Implemented Interfaces:
- java.lang.Comparable<Peer>
- Direct Known Subclasses:
- MetaDataImpl.ClientLocalPeer, PeerImpl
public class AbstractPeer
- extends java.lang.Object
- implements java.lang.Comparable<Peer>
- Author:
- Alexandre Mendonca , Bartosz Baranowski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INT_COMMON_APP_ID
public static final int INT_COMMON_APP_ID
- See Also:
- Constant Field Values
uid
protected static UIDGenerator uid
statistic
protected IStatistic statistic
perSecondRecords
protected java.util.List<IStatisticRecord> perSecondRecords
uri
protected URI uri
statisticFactory
protected IStatisticManager statisticFactory
AbstractPeer
public AbstractPeer(URI uri,
IStatisticManager statisticFactory)
createPeerStatistics
protected void createPeerStatistics()
removePeerStatistics
protected void removePeerStatistics()
compareTo
public int compareTo(Peer o)
- Specified by:
compareTo in interface java.lang.Comparable<Peer>
disconnect
protected void disconnect(int disconnectCause)
throws InternalException,
IllegalDiameterStateException
- Throws:
IllegalDiameterStateException
InternalException
Copyright © 2014. All Rights Reserved.