|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--rice.pastry.PastryNode
|
+--rice.pastry.direct.DirectPastryNode
Direct pastry node. Subclasses PastryNode, and does about nothing else.
| Field Summary |
| Fields inherited from class rice.pastry.PastryNode |
apps, localhandle, myNodeId |
| Constructor Summary | |
DirectPastryNode(rice.pastry.NodeId id,
rice.pastry.direct.NetworkSimulator sim)
|
|
| Method Summary | |
void |
doneNode(rice.pastry.NodeHandle bootstrap)
|
void |
initiateJoin(rice.pastry.NodeHandle bootstrap)
Sends an InitiateJoin message to itself. |
void |
nodeIsReady()
Called from PastryNode after the join succeeds. |
rice.pastry.ScheduledMessage |
scheduleMsg(rice.pastry.messaging.Message msg,
long delay)
Schedule the specified message to be sent to the local node after a specified delay. |
rice.pastry.ScheduledMessage |
scheduleMsg(rice.pastry.messaging.Message msg,
long delay,
long period)
Schedule the specified message for repeated fixed-delay delivery to the local node, beginning after the specified delay. |
rice.pastry.ScheduledMessage |
scheduleMsgAtFixedRate(rice.pastry.messaging.Message msg,
long delay,
long period)
Schedule the specified message for repeated fixed-rate delivery to the local node, beginning after the specified delay. |
void |
setDirectElements()
|
| Methods inherited from class rice.pastry.PastryNode |
addLeafSetObserver, addRouteSetObserver, deleteLeafSetObserver, deleteRouteSetObserver, getId, getIdFactory, getLeafSet, getLocalHandle, getMessageDispatch, getNodeId, getRoutingTable, isClosest, isReady, receiveMessage, registerApp, registerApplication, registerReceiver, setElements, setMessageDispatch, setReady, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DirectPastryNode(rice.pastry.NodeId id,
rice.pastry.direct.NetworkSimulator sim)
| Method Detail |
public void setDirectElements()
public void doneNode(rice.pastry.NodeHandle bootstrap)
public final void initiateJoin(rice.pastry.NodeHandle bootstrap)
initiateJoin in class PastryNodebootstrap - Node handle to bootstrap with.public final void nodeIsReady()
nodeIsReady in class PastryNode
public rice.pastry.ScheduledMessage scheduleMsg(rice.pastry.messaging.Message msg,
long delay)
scheduleMsg in class PastryNodemsg - a message that will be delivered to the local node after the specified delaydelay - time in milliseconds before message is to be delivered
public rice.pastry.ScheduledMessage scheduleMsg(rice.pastry.messaging.Message msg,
long delay,
long period)
scheduleMsg in class PastryNodemsg - a message that will be delivered to the local node after the specified delaydelay - time in milliseconds before message is to be deliveredperiod - time in milliseconds between successive message deliveries
public rice.pastry.ScheduledMessage scheduleMsgAtFixedRate(rice.pastry.messaging.Message msg,
long delay,
long period)
scheduleMsgAtFixedRate in class PastryNodemsg - a message that will be delivered to the local node after the specified delaydelay - time in milliseconds before message is to be deliveredperiod - time in milliseconds between successive message deliveries
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||