|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.client.PastryAppl
rice.pastry.socket.nat.probe.ProbeApp
public class ProbeApp
Field Summary |
---|
Fields inherited from class rice.pastry.client.PastryAppl |
---|
address, deserializer, instance, logger, options, receiver, thePastryNode |
Constructor Summary | |
---|---|
ProbeApp(PastryNode pn,
Prober prober,
AddressStrategy addressStrategy)
|
Method Summary | |
---|---|
void |
handleProbeRequestMessage(ProbeRequestMessage prm)
|
void |
messageForAppl(Message msg)
Called by pastry when a message arrives for this application. |
Cancellable |
requestProbe(MultiInetSocketAddress addr,
long uid,
Continuation<java.lang.Boolean,java.lang.Exception> deliverResultToMe)
Send a ProbeRequestMessage to a node in the leafset. |
Methods inherited from class rice.pastry.client.PastryAppl |
---|
accept, canReceiveSocket, connect, deliverWhenNotReady, destroy, enrouteMessage, finishReceiveSocket, getAddress, getDeserializer, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, leafSetChange, notifyReady, receiveMessage, receiveMessageInternal, register, routeMsg, routeMsg, routeMsgDirect, routeSetChange, setDeserializer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProbeApp(PastryNode pn, Prober prober, AddressStrategy addressStrategy)
Method Detail |
---|
public void messageForAppl(Message msg)
PastryAppl
messageForAppl
in class PastryAppl
msg
- the message that is arriving.public void handleProbeRequestMessage(ProbeRequestMessage prm)
public Cancellable requestProbe(MultiInetSocketAddress addr, long uid, Continuation<java.lang.Boolean,java.lang.Exception> deliverResultToMe)
requestProbe
in interface ProbeStrategy
addr
- the location of the requestor (who we need to probe)uid
- a unique identifier created by the original requestor at addr
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |