|
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.client.CommonAPIAppl rice.pastry.testing.RegrTestApp
RegrTestApp A regression test suite for pastry. This is the per-node app object.
Field Summary |
Fields inherited from class rice.pastry.client.PastryAppl |
address, deserializer, instance, logger, receiver, thePastryNode |
Constructor Summary | |
RegrTestApp(PastryNode pn,
PastryRegrTest prg)
Constructor for RegrTestApp. |
Method Summary | |
void |
deliver(Id key,
Message msg)
DESCRIBE THE METHOD |
void |
forward(RouteMessage rm)
DESCRIBE THE METHOD |
int |
getAddress()
Gets the Address attribute of the RegrTestApp object |
PastryNode |
getPastryNode()
Gets the PastryNode attribute of the RegrTestApp object |
void |
notifyReady()
Invoked when the Pastry node has joined the overlay network and is ready to send and receive messages |
void |
routeSetChange(NodeHandle nh,
boolean wasAdded)
DESCRIBE THE METHOD |
void |
sendMsg(Id nid)
DESCRIBE THE METHOD |
void |
sendTrace(Id nid)
DESCRIBE THE METHOD |
void |
update(NodeHandle nh,
boolean wasAdded)
DESCRIBE THE METHOD |
Methods inherited from class rice.pastry.client.CommonAPIAppl |
leafSetChange, localLookup, messageForAppl, neighborSet, range, range, receiveMessage, replicaSet, route |
Methods inherited from class rice.pastry.client.PastryAppl |
accept, connect, deliverWhenNotReady, destroy, enrouteMessage, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, 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 RegrTestApp(PastryNode pn, PastryRegrTest prg)
pn
- DESCRIBE THE PARAMETERprg
- DESCRIBE THE PARAMETERMethod Detail |
public int getAddress()
getAddress
in class PastryAppl
public PastryNode getPastryNode()
public void sendMsg(Id nid)
nid
- DESCRIBE THE PARAMETERpublic void sendTrace(Id nid)
nid
- DESCRIBE THE PARAMETERpublic void deliver(Id key, Message msg)
deliver
in class CommonAPIAppl
key
- DESCRIBE THE PARAMETERmsg
- DESCRIBE THE PARAMETERpublic void forward(RouteMessage rm)
forward
in class CommonAPIAppl
rm
- DESCRIBE THE PARAMETERpublic void update(NodeHandle nh, boolean wasAdded)
update
in class CommonAPIAppl
nh
- DESCRIBE THE PARAMETERwasAdded
- DESCRIBE THE PARAMETERpublic void routeSetChange(NodeHandle nh, boolean wasAdded)
routeSetChange
in class PastryAppl
nh
- DESCRIBE THE PARAMETERwasAdded
- DESCRIBE THE PARAMETERpublic void notifyReady()
notifyReady
in class CommonAPIAppl
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |