net.tomp2p.connection
Class PeerBean
java.lang.Object
net.tomp2p.connection.PeerBean
public class PeerBean
- extends Object
A bean that holds non-sharable (unique for each peer) configuration settings
for the peer. The sharable configurations are stored in
ConnectionBean
.
- Author:
- Thomas Bocek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeerBean
public PeerBean(KeyPair keyPair)
getServerPeerAddress
public PeerAddress getServerPeerAddress()
setServerPeerAddress
public void setServerPeerAddress(PeerAddress serverPeerAddress)
getPeerMap
public PeerMap getPeerMap()
setPeerMap
public void setPeerMap(PeerMap routing)
setStorage
public void setStorage(Storage storage)
getStorage
public Storage getStorage()
setTrackerStorage
public void setTrackerStorage(TrackerStorage trackerStorage)
getTrackerStorage
public TrackerStorage getTrackerStorage()
getKeyPair
public KeyPair getKeyPair()
setReplicationStorage
public void setReplicationStorage(Replication replicationStorage)
getReplicationStorage
public Replication getReplicationStorage()
setStatistics
public void setStatistics(Statistics statistics)
getStatistics
public Statistics getStatistics()
Copyright © 2012. All Rights Reserved.