fipaos.test.agent
Class MessageTimingAgent.MessageTestTask

java.lang.Object
  |
  +--fipaos.agent.task.Task
        |
        +--fipaos.test.agent.MessageTimingAgent.MessageTestTask
Enclosing class:
MessageTimingAgent

public class MessageTimingAgent.MessageTestTask
extends Task

Task to test message sending & timing


Fields inherited from class fipaos.agent.task.Task
_children, _lock, _owner, _tm
 
Constructor Summary
MessageTimingAgent.MessageTestTask(AgentID aid, java.lang.Object content)
           
 
Method Summary
 void handleInform(Conversation conv)
          Dummy method - please override implementation and DO NOT invoke
 void handleOther(Conversation conv)
          This method can be implemented to provide a mechanism for dealing with incoming messages for which there is no performative handler available in the task subclass.
 void startTask()
          Invoked immediately after the task has been initialised by newTask()
 
Methods inherited from class fipaos.agent.task.Task
DFSearchResults, done, done, doneDFSearchTask, errorDFSearchTask, forward, forward, getContext, getNewConversation, getState, handleAcceptProposal, handleAgree, handleCfp, handleConfirm, handleDisconfirm, handleFailure, handleInformIf, handleInformRef, handleLateMessage, handleNotUnderstood, 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

MessageTimingAgent.MessageTestTask

public MessageTimingAgent.MessageTestTask(AgentID aid,
                                          java.lang.Object content)
Method Detail

startTask

public void startTask()
Description copied from class: Task
Invoked immediately after the task has been initialised by newTask()
Overrides:
startTask in class Task

handleInform

public void handleInform(Conversation conv)
Description copied from class: Task
Dummy method - please override implementation and DO NOT invoke
Overrides:
handleInform in class Task

handleOther

public void handleOther(Conversation conv)
Description copied from class: Task
This method can be implemented to provide a mechanism for dealing with incoming messages for which there is no performative handler available in the task subclass. The default implementation is to send a not-understood message. Override this method if you wish to add different handling such as learning how to handle the performative.
Overrides:
handleOther in class Task
Following copied from class: fipaos.agent.task.Task
Parameters:
conv - The conversation containing the message to handle