|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.TimerTask | +--rice.pastry.ScheduledMessage
A class that represents scheduled message events
Constructor Summary | |
ScheduledMessage(rice.pastry.PastryNode pn,
rice.pastry.messaging.Message msg)
Constructor |
Method Summary | |
rice.pastry.messaging.Message |
getMessage()
Returns the message |
void |
run()
deliver the message |
Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ScheduledMessage(rice.pastry.PastryNode pn, rice.pastry.messaging.Message msg)
Method Detail |
public rice.pastry.messaging.Message getMessage()
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |