Inheritance diagram for fr.dyade.aaa.util.TimerTask:


Public Member Functions | |
| boolean | cancel () |
| abstract void | run () |
Package Attributes | |
| Timer | timer |
| long | wakeupTime |
| boolean | waiting = false |
| boolean | cancelled = false |
TimerTask class is the base class for implementing tasks run by a Timer instance.
Definition at line 29 of file TimerTask.java.
| boolean fr.dyade.aaa.util.TimerTask.cancel | ( | ) |
Cancels this task by removing it from the timer's tasks list, and interrupting the timer thread if necessary.
Definition at line 44 of file TimerTask.java.
References fr.dyade.aaa.util.TimerTask.cancelled, fr.dyade.aaa.util.Timer.daemon, fr.dyade.aaa.util.TimerDaemon.interrupt(), fr.dyade.aaa.util.Timer.tasks, fr.dyade.aaa.util.TimerTask.timer, and fr.dyade.aaa.util.TimerTask.waiting.
Here is the call graph for this function:

| abstract void fr.dyade.aaa.util.TimerTask.run | ( | ) | [pure virtual] |
Method called by the timer when the task is ready to execute.
Implemented in fr.dyade.aaa.agent.WakeUpTask, and org.objectweb.joram.mom.proxies.UserAgent.HeartBeatTask.
Referenced by fr.dyade.aaa.util.TimerDaemon.run().
Timer fr.dyade.aaa.util.TimerTask.timer [package] |
The task's timer reference.
Definition at line 32 of file TimerTask.java.
Referenced by fr.dyade.aaa.util.TimerTask.cancel(), and fr.dyade.aaa.agent.WakeUpTask.schedule().
long fr.dyade.aaa.util.TimerTask.wakeupTime [package] |
The task's wake up time.
Definition at line 34 of file TimerTask.java.
Referenced by fr.dyade.aaa.util.TimerDaemon.run().
boolean fr.dyade.aaa.util.TimerTask.waiting = false [package] |
true if the task is the next scheduled.
Definition at line 36 of file TimerTask.java.
Referenced by fr.dyade.aaa.util.TimerTask.cancel(), and fr.dyade.aaa.util.TimerDaemon.run().
boolean fr.dyade.aaa.util.TimerTask.cancelled = false [package] |
true if the task has been cancelled.
Definition at line 38 of file TimerTask.java.
Referenced by fr.dyade.aaa.util.TimerTask.cancel().
1.5.0