|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.agent.task.Task | +--fipaos.agent.task.WaitTask
This task waits for a specified amount of time before invoking the done() method (and hence notifying its parent-task)
Fields inherited from class fipaos.agent.task.Task |
_children, _lock, _owner, _tm |
Constructor Summary | |
WaitTask(long time)
Creates a new WaitTask with the given timeout. |
Method Summary | |
protected void |
startTask()
Invoked after this Task has been initialised - starts the countdown! |
void |
timeoutWaitTask_DummyTask(Task t)
Invoked when timeout occurs |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WaitTask(long time)
time
- The time to wait after initialisation before informing
the parent task (from initialisation - i.e. by using
the TaskManager or Task newTask() method)Method Detail |
protected void startTask()
startTask
in class Task
public void timeoutWaitTask_DummyTask(Task t)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |