|
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
public class 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, seq |
| 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()
Converts to a String representation of the object. |
| 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 PARAMETER| Method Detail |
|---|
public Message getMessage()
public PastryNode getLocalNode()
public void run()
run in interface CancellableTaskrun in class TimerTaskpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean cancel()
cancel in interface CancellableTaskcancel in class TimerTask
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||