public class AbstractPeer extends Object implements Comparable<Peer>
| Modifier and Type | Field and Description |
|---|---|
static int |
INT_COMMON_APP_ID |
protected List<IStatisticRecord> |
perSecondRecords |
protected IStatistic |
statistic |
protected IStatisticManager |
statisticFactory |
protected static UIDGenerator |
uid |
protected URI |
uri |
| Constructor and Description |
|---|
AbstractPeer(URI uri,
IStatisticManager statisticFactory) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Peer o) |
protected void |
createPeerStatistics() |
protected void |
disconnect(int disconnectCause) |
protected void |
removePeerStatistics() |
public static final int INT_COMMON_APP_ID
protected static UIDGenerator uid
protected IStatistic statistic
protected List<IStatisticRecord> perSecondRecords
protected URI uri
protected IStatisticManager statisticFactory
public AbstractPeer(URI uri, IStatisticManager statisticFactory)
protected void createPeerStatistics()
protected void removePeerStatistics()
public int compareTo(Peer o)
compareTo in interface Comparable<Peer>protected void disconnect(int disconnectCause)
throws InternalException,
IllegalDiameterStateException
Copyright © 2016. All Rights Reserved.