|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PeerInfo | |
---|---|
peerbase | |
peerbase.sample | |
peerbase.util |
Uses of PeerInfo in peerbase |
---|
Methods in peerbase that return PeerInfo | |
---|---|
PeerInfo |
Node.getPeer(java.lang.String key)
|
PeerInfo |
PeerConnection.getPeerInfo()
|
PeerInfo |
Node.removePeer(java.lang.String key)
|
PeerInfo |
RouterInterface.route(java.lang.String peerid)
|
Methods in peerbase with parameters of type PeerInfo | |
---|---|
boolean |
Node.addPeer(PeerInfo pd)
|
boolean |
Node.addPeer(java.lang.String key,
PeerInfo pd)
Add new peer information to the peer list, indexed by the given key. |
java.util.List<PeerMessage> |
Node.connectAndSend(PeerInfo pd,
java.lang.String msgtype,
java.lang.String msgdata,
boolean waitreply)
Connects to the specified peer and sends a message, optionally waiting and returning any replies. |
Constructors in peerbase with parameters of type PeerInfo | |
---|---|
Node(int maxPeers,
PeerInfo info)
Initialize this node with the given info and the specified limit on the size of the peer list. |
|
PeerConnection(PeerInfo info)
Opens a new connection to the specified peer. |
|
PeerConnection(PeerInfo info,
SocketInterface socket)
Constructs a connection for which a socket has already been opened. |
Uses of PeerInfo in peerbase.sample |
---|
Constructors in peerbase.sample with parameters of type PeerInfo | |
---|---|
FileShareNode(int maxPeers,
PeerInfo myInfo)
|
Uses of PeerInfo in peerbase.util |
---|
Methods in peerbase.util that return PeerInfo | |
---|---|
PeerInfo |
SimpleRouter.route(java.lang.String peerid)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |