|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.client.PastryAppl rice.pastry.testing.PingClient
A very simple ping object.
Field Summary |
Fields inherited from class rice.pastry.client.PastryAppl |
address, deserializer, instance, logger, receiver, thePastryNode |
Constructor Summary | |
PingClient(PastryNode pn)
Constructor for PingClient. |
Method Summary | |
boolean |
enrouteMessage(Message msg,
Id from,
NodeHandle nextHop,
SendOptions opt)
DESCRIBE THE METHOD |
int |
getAddress()
Gets the Address attribute of the PingClient object |
void |
leafSetChange(NodeHandle nh,
boolean wasAdded)
DESCRIBE THE METHOD |
void |
messageForAppl(Message msg)
DESCRIBE THE METHOD |
void |
routeSetChange(NodeHandle nh,
boolean wasAdded)
DESCRIBE THE METHOD |
void |
sendPing(Id nid)
DESCRIBE THE METHOD |
void |
sendTrace(Id nid)
DESCRIBE THE METHOD |
Methods inherited from class rice.pastry.client.PastryAppl |
accept, connect, deliverWhenNotReady, destroy, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, notifyReady, receiveMessage, receiveMessageInternal, receiveSocket, register, routeMsg, routeMsgDirect, setDeserializer, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PingClient(PastryNode pn)
pn
- DESCRIBE THE PARAMETERMethod Detail |
public int getAddress()
getAddress
in class PastryAppl
public void sendPing(Id nid)
nid
- DESCRIBE THE PARAMETERpublic void sendTrace(Id nid)
nid
- DESCRIBE THE PARAMETERpublic void messageForAppl(Message msg)
messageForAppl
in class PastryAppl
msg
- DESCRIBE THE PARAMETERpublic boolean enrouteMessage(Message msg, Id from, NodeHandle nextHop, SendOptions opt)
enrouteMessage
in class PastryAppl
msg
- DESCRIBE THE PARAMETERfrom
- DESCRIBE THE PARAMETERnextHop
- DESCRIBE THE PARAMETERopt
- DESCRIBE THE PARAMETER
public void leafSetChange(NodeHandle nh, boolean wasAdded)
leafSetChange
in class PastryAppl
nh
- DESCRIBE THE PARAMETERwasAdded
- DESCRIBE THE PARAMETERpublic void routeSetChange(NodeHandle nh, boolean wasAdded)
routeSetChange
in class PastryAppl
nh
- DESCRIBE THE PARAMETERwasAdded
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |