|
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.boot.BootstrapApp
public class BootstrapApp
Simple bootstrapper. Just tries teh bootaddresses in order.
| Field Summary |
|---|
| Fields inherited from class rice.pastry.client.PastryAppl |
|---|
address, deserializer, instance, logger, options, receiver, thePastryNode |
| Fields inherited from interface org.mpisws.p2p.transport.liveness.LivenessListener |
|---|
LIVENESS_ALIVE, LIVENESS_DEAD, LIVENESS_DEAD_FOREVER, LIVENESS_SUSPECTED |
| Constructor Summary | |
|---|---|
BootstrapApp(PastryNode pn,
LivenessProvider<NodeHandle> live)
|
|
| Method Summary | |
|---|---|
void |
boot(java.util.Collection bootaddresses)
|
void |
livenessChanged(NodeHandle i,
int val,
java.util.Map<java.lang.String,java.lang.Integer> options)
Called when the liveness changes. |
void |
messageForAppl(Message msg)
Called by pastry when a message arrives for this application. |
| Methods inherited from class rice.pastry.client.PastryAppl |
|---|
accept, canReceiveSocket, connect, deliverWhenNotReady, destroy, enrouteMessage, finishReceiveSocket, getAddress, getDeserializer, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, leafSetChange, notifyReady, receiveMessage, receiveMessageInternal, register, routeMsg, routeMsgDirect, routeSetChange, setDeserializer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BootstrapApp(PastryNode pn,
LivenessProvider<NodeHandle> live)
| Method Detail |
|---|
public void messageForAppl(Message msg)
PastryAppl
messageForAppl in class PastryApplmsg - the message that is arriving.public void boot(java.util.Collection bootaddresses)
boot in interface Bootstrapper
public void livenessChanged(NodeHandle i,
int val,
java.util.Map<java.lang.String,java.lang.Integer> options)
LivenessListener
livenessChanged in interface LivenessListener<NodeHandle>
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||