|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PeerMessage | |
|---|---|
| peerbase | |
| Uses of PeerMessage in peerbase |
|---|
| Methods in peerbase that return PeerMessage | |
|---|---|
PeerMessage |
PeerConnection.recvData()
Receives a PeerMessage from the connected peer. |
| Methods in peerbase that return types with arguments of type PeerMessage | |
|---|---|
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. |
java.util.List<PeerMessage> |
Node.sendToPeer(java.lang.String peerid,
java.lang.String msgtype,
java.lang.String msgdata,
boolean waitreply)
Attempts to route and send a message to the specified peer, optionally waiting and returning any replies. |
| Methods in peerbase with parameters of type PeerMessage | |
|---|---|
void |
HandlerInterface.handleMessage(PeerConnection peerconn,
PeerMessage msg)
Invoked when a peer connects and sends a message to this node. |
void |
PeerConnection.sendData(PeerMessage msg)
Sends a PeerMessage to the connected peer. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||