|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.rendezvous.limited.LimitedRangeGreeter
public class LimitedRangeGreeter
The limited range rendezvous peer greeter.
RdvGreeter
,
RdvWalk
,
RdvWalker
,
LimitedRangeRdvMsg
Constructor Summary | |
---|---|
LimitedRangeGreeter(LimitedRangeWalk walk)
Constructor |
Method Summary | |
---|---|
void |
processIncomingMessage(Message message,
EndpointAddress srcAddr,
EndpointAddress dstAddr)
This method is invoked by the EndpointService for each incoming message which is addressed to this listener. |
void |
replyMessage(Message msg,
Message reply)
Reply to a message received by the Greeter. |
void |
stop()
Stop the greeter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LimitedRangeGreeter(LimitedRangeWalk walk)
walk
- The walk we will be associated with.Method Detail |
---|
public void stop()
stop
in interface RdvGreeter
public void processIncomingMessage(Message message, EndpointAddress srcAddr, EndpointAddress dstAddr)
processIncomingMessage
in interface EndpointListener
message
- Incoming messagesrcAddr
- Endpoint Address of the source of the message.dstAddr
- Endpoint Address of the destination of the message.public void replyMessage(Message msg, Message reply) throws IOException
replyMessage
in interface RdvGreeter
msg
- The source message received previously by the Greeterreply
- The reply message to be sent to the source of the message.
IOException
- when the reply cannot be sent.
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |