rice.pastry
Class ScheduledMessage

java.lang.Object
  extended byjava.util.TimerTask
      extended byrice.pastry.ScheduledMessage
All Implemented Interfaces:
java.lang.Runnable

public class ScheduledMessage
extends java.util.TimerTask

A class that represents scheduled message events


Constructor Summary
ScheduledMessage(PastryNode pn, Message msg)
          Constructor
 
Method Summary
 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

ScheduledMessage

public ScheduledMessage(PastryNode pn,
                        Message msg)
Constructor

Method Detail

getMessage

public Message getMessage()
Returns the message

Returns:
the message

run

public void run()
deliver the message






Imprint-Dataprotection