fipaos.test.agent
Class AgentMessagingTest.TestAgent

fipaos.agent.FIPAOSAgent
  |
  +--fipaos.test.agent.AgentMessagingTest.TestAgent

public class AgentMessagingTest.TestAgent
extends FIPAOSAgent

Simple agent to send messages & count the number received


Inner Class Summary
 public classTestAgent.IdleTask
           

Inner classes inherited from class fipaos.agent.FIPAOSAgent
FIPAOSAgent.TopLevelHandlerTask

Field Summary
 int_rcvd
           

Fields inherited from class fipaos.agent.FIPAOSAgent
_registered_with, _state

Constructor Summary
AgentMessagingTest.TestAgent(String name)
           

Method Summary
 voidsendMessage(String target)
           
 voidsendMulticastMessage(List targets)
           

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

Field Detail

_rcvd

public int _rcvd
Constructor Detail

AgentMessagingTest.TestAgent

public AgentMessagingTest.TestAgent(String name)
Method Detail

sendMessage

public void sendMessage(String target)

sendMulticastMessage

public void sendMulticastMessage(List targets)