fipaos.platform
Class DirectoryFacilitator

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

public class DirectoryFacilitator
extends FIPAOSAgent

Directory Facilitator implementation


Inner Class Summary
 class DirectoryFacilitator.IdleTask
           
 
Inner classes inherited from class fipaos.agent.FIPAOSAgent
FIPAOSAgent.TopLevelHandlerTask
 
Field Summary
 SubscriptionManagerTask _subs_manager
          SubscriptionManager currently in use
 
Fields inherited from class fipaos.agent.FIPAOSAgent
_database_profile, _registered_with, _state, _tm
 
Constructor Summary
protected DirectoryFacilitator(PlatformProfile pp, AgentProfile ap, java.lang.String name, java.lang.String owner, FIPAOSAgentComponentFactory factory)
          Alternative constructor to be used by sub-classes (e.g.
  DirectoryFacilitator(java.lang.String platform_profile, java.lang.String name, java.lang.String owner)
          Default constructor - to be used by AgentLoader etc....
 
Method Summary
 void activate()
          When invoked, displays the Agents' GUI
 boolean registerRemoteDF(AgentID aid)
          Tells the DF to register the given Agent as a DF within its database
 boolean registerWithRemoteDF(AgentID aid)
          Tells the DF to register with the remote DF indicated by the given AID
 void shutdown()
          Shutdown the Agent safely
 
Methods inherited from class fipaos.agent.FIPAOSAgent
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
 

Field Detail

_subs_manager

public SubscriptionManagerTask _subs_manager
SubscriptionManager currently in use
Constructor Detail

DirectoryFacilitator

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

DirectoryFacilitator

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

shutdown

public void shutdown()
Description copied from class: FIPAOSAgent
Shutdown the Agent safely
Overrides:
shutdown in class FIPAOSAgent

activate

public void activate()
When invoked, displays the Agents' GUI
Overrides:
activate in class FIPAOSAgent

registerWithRemoteDF

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

registerRemoteDF

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