fipaos.test.agent
Class MessageTimingAgent

java.lang.Object
  |
  +--fipaos.agent.FIPAOSAgent
        |
        +--fipaos.test.agent.MessageTimingAgent
All Implemented Interfaces:
ConversationListener

public class MessageTimingAgent
extends FIPAOSAgent

This agent aims to test the round-trip time for sending messages to a counter-part agent


Inner Class Summary
 class MessageTimingAgent.IdleTask
          Simple Task to respond to incoming request messages, and just reply with an inform - it performs the minimum of work in doing so
 class MessageTimingAgent.MessageTestTask
          Task to test message sending & timing
 class MessageTimingAgent.TestingTask
          Task to carry out the actual job of testing
 
Inner classes inherited from class fipaos.agent.FIPAOSAgent
FIPAOSAgent.TopLevelHandlerTask
 
Fields inherited from class fipaos.agent.FIPAOSAgent
_database_profile, _registered_with, _state, _tm
 
Constructor Summary
MessageTimingAgent(java.lang.String platform, java.lang.String agent, java.lang.String owner)
          Creates new MessageTiming
 
Method Summary
 ConversationManager getCM()
          Promote getCM() status
static void main(java.lang.String[] args)
           
 
Methods inherited from class fipaos.agent.FIPAOSAgent
activate, addNewProtocol, deregisterWithAMS, deregisterWithDF, forward, forward, getAID, getCurrentConversation, getHAP, getLocalAMS, getLocalAMSAID, getLocalDF, getLocalDFAID, getNewConversation, getOwnership, getPlatformProfile, getProfile, getState, isShutdown, knowsProtocol, notify, notify, notifyDone, notifyError, notifyMessageInEndedConversation, notifyMessageUndeliverable, notifyTimeout, registeredWith, registeredWithAMS, registeredWithDF, registerWithAMS, registerWithAMS, registerWithAMS, registerWithAMS, registerWithDF, registerWithDF, registerWithDF, registerWithDF, sendNotUnderstood, sendNotUnderstood, setListenerTask, setMessageSender, shutdown, startPushing, waitForPushLock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageTimingAgent

public MessageTimingAgent(java.lang.String platform,
                          java.lang.String agent,
                          java.lang.String owner)
Creates new MessageTiming
Method Detail

getCM

public ConversationManager getCM()
Promote getCM() status
Overrides:
getCM in class FIPAOSAgent

main

public static void main(java.lang.String[] args)