fipaos.tool
Class IOTestAgent

fipaos.agent.FIPAOSAgent
  |
  +--fipaos.tool.IOTestAgent

public class IOTestAgent
extends FIPAOSAgent

Simple test agent for testing interoperability. It has a GUI that controls the actions.


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

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

Constructor Summary
IOTestAgent(String platform_profile_location, String name, String agent_owner)
          IOTestAgent constructor.

Method Summary
 voidactivate()
          Invoked when GUI should be shown
 voidsend(ACL msg)
          Send message on behalf of GUI
 voidshutdown()
          Shutdown Agent & GUI

Methods inherited from class fipaos.agent.FIPAOSAgent
forward, getAID, getCurrentConversation, getHAP, getLocalAMS, getLocalAMSAID, getLocalDF, getLocalDFAID, getNewConversation, getOwnership, getPlatformProfile, getProfile, getState, isShutdown, main, notify, notify, sendNotUnderstood, sendNotUnderstood, setMessageSender, waitForPushLock

Constructor Detail

IOTestAgent

public IOTestAgent(String platform_profile_location, String name, String agent_owner)
IOTestAgent constructor. Normal agent registering, calling VisualACLParser. Then starts to wait for the button to be pressed.
Parameters:
name - java.lang.String agent's name
agent_owner - java.lang.String agent's owner (usually the same)
ior - True if this agent should use agent@IOR:.. addressing, false otherwise
Method Detail

activate

public void activate()
Invoked when GUI should be shown

send

public void send(ACL msg)
Send message on behalf of GUI

shutdown

public void shutdown()
Shutdown Agent & GUI

Association Links

to Class fipaos.tool.VisualACLParser

to Class fipaos.tool.IOTestAgent.IdleTask