|
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.standard.StandardRouteSetProtocol
An implementation of a simple route set protocol.
Field Summary | |
protected Logger |
logger
DESCRIBE THE FIELD |
Fields inherited from class rice.pastry.client.PastryAppl |
address, deserializer, instance, receiver, thePastryNode |
Constructor Summary | |
StandardRouteSetProtocol(PastryNode ln,
RoutingTable rt,
Environment env)
Constructor. |
|
StandardRouteSetProtocol(PastryNode ln,
RoutingTable rt,
Environment env,
MessageDeserializer md)
Constructor for StandardRouteSetProtocol. |
Method Summary | |
boolean |
deliverWhenNotReady()
DESCRIBE THE METHOD |
void |
messageForAppl(Message msg)
Receives a message. |
Methods inherited from class rice.pastry.client.PastryAppl |
accept, connect, destroy, enrouteMessage, getAddress, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, leafSetChange, notifyReady, receiveMessage, 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 |
Field Detail |
protected Logger logger
Constructor Detail |
public StandardRouteSetProtocol(PastryNode ln, RoutingTable rt, Environment env)
rt
- the routing tableln
- DESCRIBE THE PARAMETERenv
- DESCRIBE THE PARAMETERpublic StandardRouteSetProtocol(PastryNode ln, RoutingTable rt, Environment env, MessageDeserializer md)
ln
- DESCRIBE THE PARAMETERrt
- DESCRIBE THE PARAMETERenv
- DESCRIBE THE PARAMETERmd
- DESCRIBE THE PARAMETERMethod Detail |
public void messageForAppl(Message msg)
messageForAppl
in class PastryAppl
msg
- the message.public boolean deliverWhenNotReady()
deliverWhenNotReady
in class PastryAppl
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |