fipaos.tutorial
Class PingAgent.IdleTask

fipaos.agent.task.Task
  |
  +--fipaos.tutorial.PingAgent.IdleTask

public class PingAgent.IdleTask
extends Task


Constructor Summary
PingAgent.IdleTask()
           

Method Summary
 voidDFSearchResults(DFAgentDescription[] descs)
          This method is invoked when a DFSearchTask has completed succesfully.
 voiddonePingAgent_PingAllTask(Task t)
          This method is dynamically invoked when a PingAllTask completes its task.
 voiddonePingAgent_PingResponseTask(Task t)
          This method is dynamically invoked when a PingResponseTask completes its task.
 voiddoneWaitTask(Task t)
          Invoked when a WaitTask "completes" (i.e.
 voidhandleRequest(Conversation conv)
          Invoked when a message is received with the "request" performative and belongs to a conversation which isn't associated with any Task (i.e.

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, handleRequestWhen, handleRequestWhenever, handleSubscribe, handleUndeliverableMessage, notify, notifyMessageFailure, notifyMessageForEndedConversation, setContext, timeoutDFSearchTask

Constructor Detail

PingAgent.IdleTask

public PingAgent.IdleTask()
Method Detail

DFSearchResults

public void DFSearchResults(DFAgentDescription[] descs)
This method is invoked when a DFSearchTask has completed succesfully.

donePingAgent_PingAllTask

public void donePingAgent_PingAllTask(Task t)
This method is dynamically invoked when a PingAllTask completes its task.

donePingAgent_PingResponseTask

public void donePingAgent_PingResponseTask(Task t)
This method is dynamically invoked when a PingResponseTask completes its task.

doneWaitTask

public void doneWaitTask(Task t)
Invoked when a WaitTask "completes" (i.e. after the period of time it has been asked to wait elapses).

handleRequest

public void handleRequest(Conversation conv)
Invoked when a message is received with the "request" performative and belongs to a conversation which isn't associated with any Task (i.e. a new incoming "ping" conversation).