jade.core
Interface AgentContainer

All Known Implementing Classes:
MessageRouterImpl

public interface AgentContainer

Version:
$Date: 2006-04-13 16:57:28 +0200 (Thu, 13 Apr 2006) $ $Revision: 1.1 $
Author:
Giovanni Rimassa - Universita' di Parma

Field Summary
static String AUX_CONTAINER_NAME
           
static String MAIN_CONTAINER_NAME
           
static String UNNAMED_CONTAINER_NAME
           
 
Method Summary
 void abortMigration(Agent instance)
           
 Agent acquireLocalAgent(jade.core.AID id)
           
 void addAddressToLocalAgents(String address)
           
 Agent addLocalAgent(jade.core.AID id, Agent a)
           
 void becomeLeader()
           
 void commitMigration(Agent instance)
           
 void fillListFromBlockedBehaviours(jade.util.leap.List behaviours, Agent a)
           
 void fillListFromMessageQueue(jade.util.leap.List messages, Agent a)
           
 void fillListFromReadyBehaviours(jade.util.leap.List behaviours, Agent a)
           
 jade.core.AID getAMS()
           
 jade.core.AID getDefaultDF()
           
 jade.core.ContainerID getID()
           
 jade.core.MainContainer getMain()
           
 jade.core.NodeDescriptor getNodeDescriptor()
           
 String getPlatformID()
           
 jade.core.Profile getProfile()
           
 jade.core.ServiceFinder getServiceFinder()
           
 jade.core.ServiceManager getServiceManager()
           
 jade.core.Location here()
           
 void initAgent(jade.core.AID agentID, Agent instance, jade.security.JADEPrincipal ownerPrincipal, jade.security.Credentials initialCredentials)
           
 boolean livesHere(jade.core.AID id)
           
 boolean postMessageToLocalAgent(jade.lang.acl.ACLMessage msg, jade.core.AID receiverID)
           
 void powerUpLocalAgent(jade.core.AID agentID)
           
 void releaseLocalAgent(jade.core.AID id)
           
 void removeAddressFromLocalAgents(String address)
           
 void removeLocalAgent(jade.core.AID id)
           
 void shutDown()
           
 

Field Detail

MAIN_CONTAINER_NAME

public static final String MAIN_CONTAINER_NAME
See Also:
Constant Field Values

AUX_CONTAINER_NAME

public static final String AUX_CONTAINER_NAME
See Also:
Constant Field Values

UNNAMED_CONTAINER_NAME

public static final String UNNAMED_CONTAINER_NAME
See Also:
Constant Field Values
Method Detail

getID

public jade.core.ContainerID getID()

getPlatformID

public String getPlatformID()

getNodeDescriptor

public jade.core.NodeDescriptor getNodeDescriptor()

getMain

public jade.core.MainContainer getMain()

getServiceManager

public jade.core.ServiceManager getServiceManager()

getServiceFinder

public jade.core.ServiceFinder getServiceFinder()

getAMS

public jade.core.AID getAMS()

getDefaultDF

public jade.core.AID getDefaultDF()

initAgent

public void initAgent(jade.core.AID agentID,
                      Agent instance,
                      jade.security.JADEPrincipal ownerPrincipal,
                      jade.security.Credentials initialCredentials)
               throws jade.core.NameClashException,
                      jade.core.IMTPException,
                      jade.core.NotFoundException,
                      jade.security.JADESecurityException
Throws:
jade.core.NameClashException
jade.core.IMTPException
jade.core.NotFoundException
jade.security.JADESecurityException

powerUpLocalAgent

public void powerUpLocalAgent(jade.core.AID agentID)
                       throws jade.core.NotFoundException
Throws:
jade.core.NotFoundException

addLocalAgent

public Agent addLocalAgent(jade.core.AID id,
                           Agent a)
                    throws jade.security.JADESecurityException
Throws:
jade.security.JADESecurityException

removeLocalAgent

public void removeLocalAgent(jade.core.AID id)

acquireLocalAgent

public Agent acquireLocalAgent(jade.core.AID id)

releaseLocalAgent

public void releaseLocalAgent(jade.core.AID id)

fillListFromMessageQueue

public void fillListFromMessageQueue(jade.util.leap.List messages,
                                     Agent a)

fillListFromReadyBehaviours

public void fillListFromReadyBehaviours(jade.util.leap.List behaviours,
                                        Agent a)

fillListFromBlockedBehaviours

public void fillListFromBlockedBehaviours(jade.util.leap.List behaviours,
                                          Agent a)

commitMigration

public void commitMigration(Agent instance)

abortMigration

public void abortMigration(Agent instance)

addAddressToLocalAgents

public void addAddressToLocalAgents(String address)

removeAddressFromLocalAgents

public void removeAddressFromLocalAgents(String address)

postMessageToLocalAgent

public boolean postMessageToLocalAgent(jade.lang.acl.ACLMessage msg,
                                       jade.core.AID receiverID)

livesHere

public boolean livesHere(jade.core.AID id)

here

public jade.core.Location here()

shutDown

public void shutDown()

becomeLeader

public void becomeLeader()

getProfile

public jade.core.Profile getProfile()


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.