fipaos.platform.dfgui
Class DFGUITestAgent

java.lang.Object
  |
  +--fipaos.agent.FIPAOSAgent
        |
        +--fipaos.platform.dfgui.DFGUIAgent
              |
              +--fipaos.platform.dfgui.DFGUITestAgent
All Implemented Interfaces:
ConversationListener

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.TopLevelHandlerTask
 
Fields inherited from class fipaos.agent.FIPAOSAgent
_database_profile, _registered_with, _state, _tm
 
Constructor Summary
DFGUITestAgent(java.lang.String name, java.lang.String platform, java.lang.String owner)
          Default Agent constructor for use with AgentLoader
 
Method Summary
 void deregistered(AgentID df, DFAgentDescription df_desc)
          Invoked when an Agent has been deregistered with a DF that has previously been searched
 void modified(AgentID df, DFAgentDescription df_desc)
          Invoked when an Agent has been modified with a DF that has previously been searched
 void registered(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
deregisterAgent, federatedSearch, listAgents, modifyAgent, registerAgent, shutdown, stopListeningToDF
 
Methods inherited from class fipaos.agent.FIPAOSAgent
activate, addNewProtocol, deregisterWithAMS, deregisterWithDF, forward, forward, getAID, getCM, getCurrentConversation, getHAP, getLocalAMS, getLocalAMSAID, getLocalDF, getLocalDFAID, getNewConversation, getOwnership, getPlatformProfile, getProfile, getState, isShutdown, knowsProtocol, notify, notify, notifyDone, notifyError, notifyMessageInEndedConversation, notifyMessageUndeliverable, notifyTimeout, registeredWith, registeredWithAMS, registeredWithDF, registerWithAMS, registerWithAMS, registerWithAMS, registerWithAMS, registerWithDF, registerWithDF, registerWithDF, registerWithDF, sendNotUnderstood, sendNotUnderstood, setListenerTask, setMessageSender, startPushing, waitForPushLock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DFGUITestAgent

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

registered

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

deregistered

public void deregistered(AgentID df,
                         DFAgentDescription df_desc)
Invoked when an Agent has been deregistered with a DF that has previously been searched
Overrides:
deregistered in class DFGUIAgent
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
Overrides:
modified in class DFGUIAgent
Parameters:
df - DF associated with this event
df_desc - DF description of the entry that has been updated