fipaos.agent.task
Class WaitTask
fipaos.agent.task.Task
|
+--fipaos.agent.task.WaitTask
- public class WaitTask
- extends Task
This task waits for a specified amount of time before invoking the done()
method (and hence notifying its parent-task)
Constructor Summary |
WaitTask(long time) Creates a new WaitTask with the given timeout. |
Methods inherited from class fipaos.agent.task.Task |
doneDFSearchTask, errorDFSearchTask, getState, handleFailure, handleInform, handleRequest, notify, notifyDone, notifyDone, notifyError, notifyStart, notifyTimeout, removeReferences, thisThreadFirstToIndicateDone, timeoutDFSearchTask |
WaitTask
public WaitTask(long time)
- Creates a new WaitTask with the given timeout.
- Parameters:
- time - The time to wait after initialisation before informing
the parent task (from initialisation - i.e. by using
the TaskManager or Task newTask() method)