|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RdvWalker
A walker is responsible for implementing the strategy of sending messages for a walk.
RdvWalk
,
RdvGreeter
Method Summary | |
---|---|
void |
stop()
Stop the walker. |
void |
walkMessage(PeerID destPeer,
Message msg,
String serviceName,
String serviceParam,
int ttl)
Walk a message to other Rendezvous peers participating into the walk. |
Method Detail |
---|
void walkMessage(PeerID destPeer, Message msg, String serviceName, String serviceParam, int ttl) throws IOException
destPeer
- An optional PeerID of the peer which will be the initial
recipient of the walked message.msg
- The message to walk. The message will be modified.serviceName
- The name of the service.serviceParam
- The parameter of the service.ttl
- The maximum TTL of the message. This value may be decreased by
the Walker implementation, but will never be increased.
IOException
- If the message was not sent to any other rendezvous
peers.void stop()
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |