fipaos.platform.dfgui
Class DFGUITestAgent

fipaos.agent.FIPAOSAgent
  |
  +--fipaos.platform.dfgui.DFGUIAgent
        |
        +--fipaos.platform.dfgui.DFGUITestAgent

public class DFGUITestAgent
extends DFGUIAgent

This Agent aims to highlight how easy it is to implement a DFGUI using the DFGUIAgent base class


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

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

Constructor Summary
DFGUITestAgent(String name, String platform, String owner)
          Default Agent constructor for use with AgentLoader

Method Summary
 voidderegistered(AgentID df, DFAgentDescription df_desc)
          Invoked when an Agent has been deregistered with a DF that has previously been searched
 voidmodified(AgentID df, DFAgentDescription df_desc)
          Invoked when an Agent has been modified with a DF that has previously been searched
 voidregistered(AgentID df, DFAgentDescription df_desc)
          Invoked when an Agent has been registered with a DF that has previously been searched

Methods inherited from class fipaos.platform.dfgui.DFGUIAgent
shutdown

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

Constructor Detail

DFGUITestAgent

public DFGUITestAgent(String name, String platform, String owner)
Default Agent constructor for use with AgentLoader
Parameters:
name - Agent name
platform - Platform profile location
owner - Ownership of Agent
Method Detail

deregistered

public void deregistered(AgentID df, DFAgentDescription df_desc)
Invoked when an Agent has been deregistered with a DF that has previously been searched
Parameters:
df - DF associated with this event
df_desc - DF description of the entry that has been updated

modified

public void modified(AgentID df, DFAgentDescription df_desc)
Invoked when an Agent has been modified with a DF that has previously been searched
Parameters:
df - DF associated with this event
df_desc - DF description of the entry that has been updated

registered

public void registered(AgentID df, DFAgentDescription df_desc)
Invoked when an Agent has been registered with a DF that has previously been searched
Parameters:
df - DF associated with this event
df_desc - DF description of the entry that has been updated