fipaos.test.agent
Class MessageTimingAgent
fipaos.agent.FIPAOSAgent
|
+--fipaos.test.agent.MessageTimingAgent
- public class MessageTimingAgent
- extends FIPAOSAgent
This agent aims to test the round-trip time for sending messages to a counter-part
agent
Constructor Summary |
MessageTimingAgent(String platform, String agent, String owner) Creates new MessageTiming |
Method Summary |
(package private) long | calcAverage(List l) Calculate the average of a list of Long's |
ConversationManager | getCM() Promote getCM() status |
(package private) List | getList(String name) Retrieves the given result list for the current payload |
static void | main(String[] args) |
Methods inherited from class fipaos.agent.FIPAOSAgent |
activate, forward, forward, getAID, getCurrentConversation, getHAP, getLocalAMS, getLocalAMSAID, getLocalDF, getLocalDFAID, getNewConversation, getOwnership, getPlatformProfile, getProfile, getState, isShutdown, notify, notify, notifyDone, notifyError, notifyMessageInEndedConversation, notifyMessageUndeliverable, notifyTimeout, sendNotUnderstood, sendNotUnderstood, setMessageSender, shutdown, waitForPushLock |
MessageTimingAgent
public MessageTimingAgent(String platform, String agent, String owner)
- Creates new MessageTiming
calcAverage
long calcAverage(List l)
- Calculate the average of a list of Long's
getCM
public ConversationManager getCM()
- Promote getCM() status
getList
List getList(String name)
- Retrieves the given result list for the current payload
main
public static void main(String[] args)
to Class java.lang.String
to Class fipaos.ont.fipa.fipaman.AgentID
to Class java.util.Map