|
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.standard.StandardRouter
An implementation of the standard Pastry routing algorithm.
| Field Summary |
| Fields inherited from class rice.pastry.client.PastryAppl |
address, deserializer, instance, logger, receiver, thePastryNode |
| Constructor Summary | |
StandardRouter(PastryNode thePastryNode)
Constructor. |
|
| Method Summary | |
boolean |
deliverWhenNotReady()
DESCRIBE THE METHOD |
void |
messageForAppl(Message msg)
DESCRIBE THE METHOD |
void |
receiveMessage(Message msg)
Receive a message from a remote node. |
| Methods inherited from class rice.pastry.client.PastryAppl |
accept, connect, destroy, enrouteMessage, getAddress, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, leafSetChange, notifyReady, receiveMessageInternal, receiveSocket, register, routeMsg, routeMsgDirect, routeSetChange, setDeserializer, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardRouter(PastryNode thePastryNode)
thePastryNode - DESCRIBE THE PARAMETER| Method Detail |
public void receiveMessage(Message msg)
receiveMessage in class PastryApplmsg - the message.public boolean deliverWhenNotReady()
deliverWhenNotReady in class PastryApplpublic void messageForAppl(Message msg)
messageForAppl in class PastryApplmsg - DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||