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.
Constructor Summary |
IOTestAgent(String platform_profile_location, String name, String agent_owner) IOTestAgent constructor. |
Method Summary |
void | activate() Invoked when GUI should be shown |
void | send(Message msg) Send message on behalf of GUI |
void | shutdown() Shutdown Agent & GUI |
Methods inherited from class fipaos.agent.FIPAOSAgent |
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, waitForPushLock |
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
activate
public void activate()
- Invoked when GUI should be shown
send
public void send(Message msg)
- Send message on behalf of GUI
shutdown
public void shutdown()
- Shutdown Agent & GUI
to Class fipaos.tool.VisualACLParser
to Class fipaos.tool.IOTestAgent.IdleTask