|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.agent.FIPAOSAgent | +--fipaos.platform.dfgui.DFGUIAgent
This a basic shell for DFGUI implementations to extend - all Agent based interactions are handled by this class, enabling developers to concentrate on the UI to present this functionality/information
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 | |
DFGUIAgent(java.lang.String name,
java.lang.String platform,
java.lang.String owner)
Generic constructor - see FIPAOSAgent |
Method Summary | |
protected boolean |
deregisterAgent(AgentID df,
DFAgentDescription dfad)
Deregisters the DFAgentDescription with the given DF Agent |
abstract void |
deregistered(AgentID df,
DFAgentDescription df_desc)
Invoked when an Agent has been deregistered with a DF that has previously been searched |
java.util.Map |
federatedSearch(AgentID df,
int depth)
Send a federated search to the given DF, and retrieve the results |
protected java.util.Map |
listAgents(AgentID df)
Lists the Agents registered with a particular DF. |
abstract void |
modified(AgentID df,
DFAgentDescription df_desc)
Invoked when an Agent has been modified with a DF that has previously been searched |
protected boolean |
modifyAgent(AgentID df,
DFAgentDescription dfad)
Modifies the DFAgentDescription within the given DF Agent |
protected boolean |
registerAgent(AgentID df,
DFAgentDescription dfad)
Registers the DFAgentDescription with the given DF Agent |
abstract void |
registered(AgentID df,
DFAgentDescription df_desc)
Invoked when an Agent has been registered with a DF that has previously been searched |
void |
shutdown()
Shutdown the DFGUI Agent "nicely" (attempts to cancel subscriptions to DF's before killing the Agent). |
protected boolean |
stopListeningToDF(AgentID df)
Indicates that the DFGUI should stop listeneing to the DF indicated (i.e. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DFGUIAgent(java.lang.String name, java.lang.String platform, java.lang.String owner)
FIPAOSAgent
name
- Name of the Agentplatform
- Location of the platform profileowner
- Owner of this AgentMethod Detail |
public abstract void registered(AgentID df, DFAgentDescription df_desc)
df
- DF associated with this eventdf_desc
- DF description of the entry that has been updatedpublic abstract void deregistered(AgentID df, DFAgentDescription df_desc)
df
- DF associated with this eventdf_desc
- DF description of the entry that has been updatedpublic abstract void modified(AgentID df, DFAgentDescription df_desc)
df
- DF associated with this eventdf_desc
- DF description of the entry that has been updatedpublic void shutdown()
shutdown
in class FIPAOSAgent
protected java.util.Map listAgents(AgentID df)
df
- DF to searchpublic java.util.Map federatedSearch(AgentID df, int depth)
protected boolean stopListeningToDF(AgentID df)
df
- The DF to cancel subscriptions withprotected boolean registerAgent(AgentID df, DFAgentDescription dfad)
df
- The DF to register the DFAgentDescription withdfad
- The Agent's details to registerprotected boolean deregisterAgent(AgentID df, DFAgentDescription dfad)
df
- The DF to deregister the DFAgentDescription fromdfad
- The Agent's details to deregisterprotected boolean modifyAgent(AgentID df, DFAgentDescription dfad)
df
- The DF to modify the DFAgentDescription withdfad
- The Agent's details to modify
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |