|
Project 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 carrying a message to other rendezvous peers as defined by its walk style.
Method Summary | |
---|---|
void |
resendMessage(Message msg)
resend a message to other Rendezvous peers participating into the walk. |
void |
sendMessage(PeerID destPeer,
Message msg,
String srcSvcName,
String srcSvcParam,
int ttl,
RouteAdvertisement srcRouteAdv)
Send a message to other Rendezvous peers participating into the walk. |
void |
stop()
Stop the walker |
Method Detail |
---|
void sendMessage(PeerID destPeer, Message msg, String srcSvcName, String srcSvcParam, int ttl, RouteAdvertisement srcRouteAdv) throws IOException
msg
- the message to be sent.
IOException
- when the message was not sent to any other
rendezvous peers.void resendMessage(Message msg) throws IOException
msg
- the message to be resent.
IOException
- when the message was not sent to any other
rendezvous peers.void stop()
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |