fipaos.tutorial.emarkets.agent
Class EmarketsTimerTask
fipaos.agent.task.Task
|
+--fipaos.tutorial.emarkets.agent.EmarketsTimerTask
- public class EmarketsTimerTask
- extends Task
This task waits for a specified amount of time before invoking the done()
method (and hence notifying its parent-task)
Constructor Summary |
EmarketsTimerTask(long time, Object id) Creates a new EmarketsTimerTask with the given timeout. |
Methods inherited from class fipaos.agent.task.Task |
doneDFSearchTask, errorDFSearchTask, getContext, getState, handleAcceptProposal, handleAgree, handleCfp, handleConfirm, handleDisconfirm, handleFailure, handleInform, handleInformIf, handleInformRef, handleLateMessage, handleNotUnderstood, handlePropagate, handlePropose, handleProxy, handleQueryIf, handleQueryRef, handleRefuse, handleRejectProposal, handleRequest, handleRequestWhen, handleRequestWhenever, handleSubscribe, handleUndeliverableMessage, notify, notifyMessageFailure, notifyMessageForEndedConversation, setContext, timeoutDFSearchTask |
EmarketsTimerTask
public EmarketsTimerTask(long time, Object id)
- Creates a new EmarketsTimerTask 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)
- id, - the id to pass back to the parent on completion
to Class java.lang.Object