fipaos.platform
Class AgentManagementSystem

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

public class AgentManagementSystem
extends FIPAOSAgent

The AMS is the controller of agent activity on the platform. It contains a list of all agent that are currently operating on the platform and has control over which agents are allowed to register on the platform. It also controls agent execution via thread management and controls agent migration. The ACC uses AMS functions to authenticate agents. $Revision: 1.14 $ $Date: 2001/05/25 10:45:52 $ $Author: alantreadway $


Inner Class Summary
 class AgentManagementSystem.IdleTask
           
 
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
  AgentManagementSystem(PlatformProfile platform_profile, AgentProfile agent_profile, java.lang.String name, java.lang.String owner)
          Creates a new AMS.
protected AgentManagementSystem(PlatformProfile pp, AgentProfile ap, java.lang.String name, java.lang.String owner, FIPAOSAgentComponentFactory factory)
          Creates a new AMS.
  AgentManagementSystem(java.lang.String platform_profile_location, java.lang.String name, java.lang.String owner)
          Creates a new AMS.
 
Method Summary
 void shutdown()
          Clears up any outstanding stuff as the object is gc'ed.
 
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

AgentManagementSystem

public AgentManagementSystem(PlatformProfile platform_profile,
                             AgentProfile agent_profile,
                             java.lang.String name,
                             java.lang.String owner)
Creates a new AMS. AMS extends FIPAOSAgent and uses the second incarnation of the Conversation Manager.

AgentManagementSystem

public AgentManagementSystem(java.lang.String platform_profile_location,
                             java.lang.String name,
                             java.lang.String owner)
Creates a new AMS. AMS extends FIPAOSAgent and uses the second incarnation of the Conversation Manager.
Parameters:
platform_profile_location - The path to the platform profile file
name - The name of this AMS
owner - The name of the entity that owns this AMS

AgentManagementSystem

protected AgentManagementSystem(PlatformProfile pp,
                                AgentProfile ap,
                                java.lang.String name,
                                java.lang.String owner,
                                FIPAOSAgentComponentFactory factory)
Creates a new AMS. AMS extends FIPAOSAgent and uses the second incarnation of the Conversation Manager.
Parameters:
platform_profile_location - The path to the platform profile file
name - The name of this AMS
owner - The name of the entity that owns this AMS
Method Detail

shutdown

public void shutdown()
Clears up any outstanding stuff as the object is gc'ed.
Overrides:
shutdown in class FIPAOSAgent