fipaos.platform
Class DirectoryFacilitator

fipaos.agent.FIPAOSAgent
  |
  +--fipaos.platform.DirectoryFacilitator

public class DirectoryFacilitator
extends FIPAOSAgent

Directory Facilitator implementation


Inner Class Summary
 public classDirectoryFacilitator.IdleTask
           

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

Field Summary
 SubscriptionManager_subs_manager
          SubscriptionManager currently in use

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

Constructor Summary
DirectoryFacilitator(String platform_profile, String name, String owner)
          Default constructor - to be used by AgentLoader etc....
DirectoryFacilitator(PlatformProfile pp, AgentProfile ap, String name, String owner)
          Alternative constructor to be used by sub-classes (e.g.

Method Summary
 voidactivate()
          When invoked, displays the Agents' GUI
 booleanregisterRemoteDF(AgentID aid)
          Tells the DF to register the given Agent as a DF within its database
 booleanregisterWithRemoteDF(AgentID aid)
          Tells the DF to register with the remote DF indicated by the given AID
 voidshutdown()
           

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

Field Detail

_subs_manager

public SubscriptionManager _subs_manager
SubscriptionManager currently in use
Constructor Detail

DirectoryFacilitator

public DirectoryFacilitator(String platform_profile, String name, String owner)
Default constructor - to be used by AgentLoader etc....

DirectoryFacilitator

public DirectoryFacilitator(PlatformProfile pp, AgentProfile ap, String name, String owner)
Alternative constructor to be used by sub-classes (e.g. MicroFIPAOS DF)
Method Detail

activate

public void activate()
When invoked, displays the Agents' GUI

registerRemoteDF

public boolean registerRemoteDF(AgentID aid)
Tells the DF to register the given Agent as a DF within its database

registerWithRemoteDF

public boolean registerWithRemoteDF(AgentID aid)
throws fipaos.platform.df.DFRegistrationException
Tells the DF to register with the remote DF indicated by the given AID

shutdown

public void shutdown()

Association Links

to Class fipaos.skill.db.Database

Reference to Database containing registered Agents

to Class fipaos.platform.df.DFCrossPlatformRegistrationFrame

Reference to GUI

to Class fipaos.platform.df.SubscriptionManager

SubscriptionManager currently in use