fipaos.platform.df
Class DFModifyTask

fipaos.agent.task.Task
  |
  +--fipaos.platform.df.DFModifyTask

public class DFModifyTask
extends Task

This task class handles df description modifications in the DFs.




Constructor Summary
DFModifyTask(DFAgentDescription desc)
          Constructs the DF modify task object which will perform a modification using the
given description
DFModifyTask(DFAgentDescription desc, AgentID df_to_modify)
          Constructs the DF modify task object which will perform a modification using the
given description

Method Summary
 voidhandleAgree(Conversation conv)
          Handles incoming agree messages.
 voidhandleFailure(Conversation conv)
          Handles incoming failure messages.
 voidhandleInform(Conversation conv)
          Handles incoming inform messages.
 voidhandleNotUnderstood(Conversation conv)
          Handles incoming not-understood messages.
 voidhandleRefuse(Conversation conv)
          Handles incoming refuse messages.

Methods inherited from class fipaos.agent.task.Task
doneDFSearchTask, endTask, errorDFSearchTask, getContext, getState, handleAcceptProposal, handleCfp, handleConfirm, handleDisconfirm, handleInformIf, handleInformRef, handleLateMessage, handlePropagate, handlePropose, handleProxy, handleQueryIf, handleQueryRef, handleRejectProposal, handleRequest, handleRequestWhen, handleRequestWhenever, handleSubscribe, handleUndeliverableMessage, notify, notifyMessageFailure, notifyMessageForEndedConversation, setContext, timeoutDFSearchTask

Constructor Detail

DFModifyTask

public DFModifyTask(DFAgentDescription desc)
Constructs the DF modify task object which will perform a modification using the
given description
Parameters:
desc - Description of the Agent to search for

DFModifyTask

public DFModifyTask(DFAgentDescription desc, AgentID df_to_modify)
Constructs the DF modify task object which will perform a modification using the
given description
Parameters:
desc - Description of the Agent to search for
Method Detail

handleAgree

public void handleAgree(Conversation conv)
Handles incoming agree messages. These messages are ignored.
Parameters:
conv - The conversation containing the incoming message

handleFailure

public void handleFailure(Conversation conv)
Handles incoming failure messages.
Parameters:
conv - The conversation containing the incoming message

handleInform

public void handleInform(Conversation conv)
Handles incoming inform messages. The content of the inform message is
passed to the calling task via a callback method.
Parameters:
conv - The conversation containing the incoming message

handleNotUnderstood

public void handleNotUnderstood(Conversation conv)
Handles incoming not-understood messages.
Parameters:
conv - The conversation containing the incoming message

handleRefuse

public void handleRefuse(Conversation conv)
Handles incoming refuse messages.
Parameters:
conv - The conversation containing the incoming message

Association Links

to Class fipaos.ont.fipa.fipaman.DFAgentDescription

to Class fipaos.ont.fipa.fipaman.AgentID