|
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.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, instance, 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 |
Address |
getAddress()
Gets the Address attribute of the RegrTestApp object |
Credentials |
getCredentials()
Gets the Credentials 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(NodeId nid)
DESCRIBE THE METHOD |
void |
sendTrace(NodeId 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 |
enrouteMessage, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, messageNotDelivered, registerReceiver, routeMsg, routeMsgDirect, sendMessage |
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 Address getAddress()
getAddress
in class PastryAppl
public Credentials getCredentials()
getCredentials
in class CommonAPIAppl
public void sendMsg(NodeId nid)
nid
- DESCRIBE THE PARAMETERpublic void sendTrace(NodeId 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 |