|
P-Grid v2.0a2 API Specification | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Message | |
|---|---|
| p2p.basic | |
| p2p.basic.events | |
| Uses of Message in p2p.basic |
|---|
| Methods in p2p.basic that return Message | |
|---|---|
abstract Message |
P2PFactory.createMessage(byte[] contents)
Create a Message instance compatible with the P2P implementation. |
| Methods in p2p.basic with parameters of type Message | |
|---|---|
void |
P2P.route(Key[] keys,
Message[] message)
Send a message to peers based on several keys. |
void |
P2P.route(Key key,
Message message)
Send a message to a peer. |
void |
P2P.route(KeyRange range,
Message message)
Send a message to a set of peers responsible for a range of keys. |
void |
P2P.routeToReplicas(Message message)
Send a message to peers responsible for the same part of the keyspace as the local node. |
void |
P2P.send(Peer peer,
Message message)
Send a message directly to a peer (no routing is done) |
| Uses of Message in p2p.basic.events |
|---|
| Methods in p2p.basic.events with parameters of type Message | |
|---|---|
void |
P2PListener.newMessage(Message message,
Peer origin)
Invoked when a new message needs to be delivered to the application. |
|
P-Grid v2.0a2 API Specification | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||