|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.selector.TimerTask
rice.pastry.ScheduledMessage
A class that represents scheduled message events
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, isCancelled, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 |