jade.core
Interface AgentContainer

All Known Implementing Classes:
BackEndContainer

public interface AgentContainer

This interface represents the local container as it is seen by JADE kernel level services installed in the underlying Node

Version:
$Date: 2010-09-27 16:56:12 +0200(lun, 27 set 2010) $ $Revision: 6370 $
Author:
Giovanni Rimassa - Universita' di Parma

Field Summary
static java.lang.String AUX_CONTAINER_NAME
           
static java.lang.String MAIN_CONTAINER_NAME
           
 
Method Summary
 Agent acquireLocalAgent(AID id)
           
 void addAddressToLocalAgents(java.lang.String address)
           
 Agent addLocalAgent(AID id, Agent a)
           
 AID[] agentNames()
           
 void becomeLeader(AMSEventQueueFeeder feeder)
           
 void fillListFromBlockedBehaviours(List behaviours, Agent a)
           
 void fillListFromMessageQueue(List messages, Agent a)
           
 void fillListFromReadyBehaviours(List behaviours, Agent a)
           
 AID getAMS()
           
 AID getDefaultDF()
           
 ContainerID getID()
           
 MainContainer getMain()
           
 NodeDescriptor getNodeDescriptor()
           
 java.lang.String getPlatformID()
           
 ServiceFinder getServiceFinder()
           
 ServiceManager getServiceManager()
           
 Location here()
           
 void initAgent(AID agentID, Agent instance, jade.security.JADEPrincipal ownerPrincipal, jade.security.Credentials initialCredentials)
           
 boolean isJoined()
           
 boolean isLocalAgent(AID id)
           
 boolean postMessageToLocalAgent(ACLMessage msg, AID receiverID)
           
 void powerUpLocalAgent(AID agentID)
           
 void releaseLocalAgent(AID id)
           
 void removeAddressFromLocalAgents(java.lang.String address)
           
 void removeLocalAgent(AID id)
           
 void shutDown()
           
 

Field Detail

MAIN_CONTAINER_NAME

static final java.lang.String MAIN_CONTAINER_NAME
See Also:
Constant Field Values

AUX_CONTAINER_NAME

static final java.lang.String AUX_CONTAINER_NAME
See Also:
Constant Field Values
Method Detail

getAMS

AID getAMS()

getDefaultDF

AID getDefaultDF()

getID

ContainerID getID()

getPlatformID

java.lang.String getPlatformID()

getMain

MainContainer getMain()

getServiceFinder

ServiceFinder getServiceFinder()

isJoined

boolean isJoined()

getServiceManager

ServiceManager getServiceManager()

getNodeDescriptor

NodeDescriptor getNodeDescriptor()

initAgent

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

powerUpLocalAgent

void powerUpLocalAgent(AID agentID)
                       throws NotFoundException
Throws:
NotFoundException

addLocalAgent

Agent addLocalAgent(AID id,
                    Agent a)

removeLocalAgent

void removeLocalAgent(AID id)

isLocalAgent

boolean isLocalAgent(AID id)

acquireLocalAgent

Agent acquireLocalAgent(AID id)

releaseLocalAgent

void releaseLocalAgent(AID id)

agentNames

AID[] agentNames()

fillListFromMessageQueue

void fillListFromMessageQueue(List messages,
                              Agent a)

fillListFromReadyBehaviours

void fillListFromReadyBehaviours(List behaviours,
                                 Agent a)

fillListFromBlockedBehaviours

void fillListFromBlockedBehaviours(List behaviours,
                                   Agent a)

becomeLeader

void becomeLeader(AMSEventQueueFeeder feeder)

addAddressToLocalAgents

void addAddressToLocalAgents(java.lang.String address)

removeAddressFromLocalAgents

void removeAddressFromLocalAgents(java.lang.String address)

postMessageToLocalAgent

boolean postMessageToLocalAgent(ACLMessage msg,
                                AID receiverID)

here

Location here()

shutDown

void shutDown()