fipaos.tutorial
Class PingAgent.PingResponseTask
fipaos.agent.task.Task
|
+--fipaos.tutorial.PingAgent.PingResponseTask
- public class PingAgent.PingResponseTask
- extends Task
This task simply responds to an incoming "ping request". It checks if the
"ping" is from a known PingAgent2 - if not this PingAgent2's internal list of
Agents to ping will be updated with this Agents' name.
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 |
PingAgent.PingResponseTask
public PingAgent.PingResponseTask(Conversation conv)
- Constructor - saves the given Conversation object for use later
to Class fipaos.agent.conversation.Conversation- Conversation within which we are replying