ihelp
Class MMAgent.SendFindTask

java.lang.Object
  |
  +--fipaos.agent.task.Task
        |
        +--ihelp.MMAgent.SendFindTask
Enclosing class:
MMAgent

public class MMAgent.SendFindTask
extends fipaos.agent.task.Task

send a message to the given agent to see if the agents user is willing and able to help.


Fields inherited from class fipaos.agent.task.Task
_children, _lock, _owner, _tm
 
Constructor Summary
MMAgent.SendFindTask(fipaos.ont.fipa.fipaman.AgentID aid, java.lang.String kw, java.lang.String person)
           
 
Method Summary
 fipaos.ont.fipa.fipaman.AgentID getAgent()
          return the AgentID of the agent we are asking
 java.lang.String getResponse()
          return the response that we got.
 void handleAgree(fipaos.agent.conversation.Conversation conv)
           
 void handleInform(fipaos.agent.conversation.Conversation conv)
           
protected  void startTask()
           
 
Methods inherited from class fipaos.agent.task.Task
DFSearchResults, done, done, doneDFSearchTask, errorDFSearchTask, forward, forward, getContext, getNewConversation, getState, handleAcceptProposal, handleCfp, handleConfirm, handleDisconfirm, handleFailure, handleInformIf, handleInformRef, handleLateMessage, handleNotUnderstood, handleOther, handlePropagate, handlePropose, handleProxy, handleQueryIf, handleQueryRef, handleRefuse, handleRejectProposal, handleRequest, handleRequestWhen, handleRequestWhenever, handleSubscribe, handleUndeliverableMessage, newTask, newTask, newTask, newTask, newTask, newTask, newTask, newTask, notify, notifyDone, notifyError, notifyMessageFailure, notifyMessageForEndedConversation, notifyTimeout, searchDF, searchDF, searchDF, searchDF, searchDF, sendNotUnderstood, setContext, timeoutDFSearchTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MMAgent.SendFindTask

public MMAgent.SendFindTask(fipaos.ont.fipa.fipaman.AgentID aid,
                            java.lang.String kw,
                            java.lang.String person)
Method Detail

getAgent

public fipaos.ont.fipa.fipaman.AgentID getAgent()
return the AgentID of the agent we are asking

getResponse

public java.lang.String getResponse()
return the response that we got.

startTask

protected void startTask()
Overrides:
startTask in class fipaos.agent.task.Task

handleAgree

public void handleAgree(fipaos.agent.conversation.Conversation conv)
Overrides:
handleAgree in class fipaos.agent.task.Task

handleInform

public void handleInform(fipaos.agent.conversation.Conversation conv)
Overrides:
handleInform in class fipaos.agent.task.Task