|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.selector.TimerTask rice.pastry.ScheduledMessage
A class that represents scheduled message events
Field Summary | |
protected PastryNode |
localNode
DESCRIBE THE FIELD |
protected Message |
msg
DESCRIBE THE FIELD |
Fields inherited from class rice.selector.TimerTask |
cancelled, fixedRate, nextExecutionTime, period |
Constructor Summary | |
ScheduledMessage(PastryNode pn,
Message msg)
Constructor |
Method Summary | |
boolean |
cancel()
DESCRIBE THE METHOD |
PastryNode |
getLocalNode()
Gets the LocalNode attribute of the ScheduledMessage object |
Message |
getMessage()
Returns the message |
void |
run()
deliver the message |
java.lang.String |
toString()
DESCRIBE THE METHOD |
Methods inherited from class rice.selector.TimerTask |
compareTo, execute, isCancelled, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected PastryNode localNode
protected Message msg
Constructor Detail |
public ScheduledMessage(PastryNode pn, Message msg)
pn
- DESCRIBE THE PARAMETERmsg
- DESCRIBE THE PARAMETERMethod Detail |
public Message getMessage()
public PastryNode getLocalNode()
public void run()
run
in interface CancellableTask
run
in class TimerTask
public java.lang.String toString()
public boolean cancel()
cancel
in interface CancellableTask
cancel
in class TimerTask
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |