|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
planetj.util.CMTimerTask
Method Summary | |
void |
addListener(ITaskListener pTaskListener)
Adds a listener of this timer task. |
TaskEvent |
getNewTaskEvent()
Returns a TaskEvent object to used when notifying listerns when the task starts and completes. |
TaskEvent |
getTaskEvent()
Returns the TaskEvent object used when notifying listerns when the task starts and completes. |
abstract void |
performTask()
The action to be performed by this task. |
void |
postTask()
Any logic to be carried out after this task starts. |
void |
preTask()
Any logic to be carried out before this task starts. |
void |
removeListener(ITaskListener pTaskListener)
Removes a listener of this timer task. |
void |
run()
Sets up, performs, and resets the task. |
Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void addListener(ITaskListener pTaskListener)
public TaskEvent getNewTaskEvent()
public TaskEvent getTaskEvent()
public abstract void performTask() throws java.lang.Exception
java.lang.Exception
public void postTask() throws java.lang.Exception
java.lang.Exception
public void preTask() throws java.lang.Exception
java.lang.Exception
public void removeListener(ITaskListener pTaskListener)
public final void run()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |