Package jade.core
Interface MainContainer
-
- All Known Implementing Classes:
MainContainerImpl
public interface MainContainer- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita' di Parma
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentDescriptoracquireAgentDescriptor(AID agentID)AID[]agentNames()voidbornAgent(AID name, ContainerID cid, JADEPrincipal principal, String ownership, boolean forceReplacement)ListcontainerAgents(ContainerID cid)ContainerID[]containerIDs()ListcontainerMTPs(ContainerID cid)voiddeadAgent(AID name, boolean containerRemoved)voiddeadMTP(MTPDescriptor mtp, ContainerID cid)voidfrozenAgent(AID name, ContainerID bufferContainer)ContainerIDgetContainerID(AID agentID)NodeDescriptorgetContainerNode(ContainerID cid)voidmovedAgent(AID agentID, ContainerID from, ContainerID to)voidnewMTP(MTPDescriptor mtp, ContainerID cid)voidreleaseAgentDescriptor(AID agentID)voidresumedAgent(AID name)voidsuspendedAgent(AID name)voidthawedAgent(AID name, ContainerID bufferContainer)voidtoolAdded(AID tool)voidtoolRemoved(AID tool)
-
-
-
Method Detail
-
bornAgent
void bornAgent(AID name, ContainerID cid, JADEPrincipal principal, String ownership, boolean forceReplacement) throws NameClashException, NotFoundException
- Throws:
NameClashExceptionNotFoundException
-
deadAgent
void deadAgent(AID name, boolean containerRemoved) throws NotFoundException
- Throws:
NotFoundException
-
suspendedAgent
void suspendedAgent(AID name) throws NotFoundException
- Throws:
NotFoundException
-
resumedAgent
void resumedAgent(AID name) throws NotFoundException
- Throws:
NotFoundException
-
movedAgent
void movedAgent(AID agentID, ContainerID from, ContainerID to) throws NotFoundException
- Throws:
NotFoundException
-
frozenAgent
void frozenAgent(AID name, ContainerID bufferContainer) throws NotFoundException
- Throws:
NotFoundException
-
thawedAgent
void thawedAgent(AID name, ContainerID bufferContainer) throws NotFoundException
- Throws:
NotFoundException
-
newMTP
void newMTP(MTPDescriptor mtp, ContainerID cid) throws IMTPException
- Throws:
IMTPException
-
deadMTP
void deadMTP(MTPDescriptor mtp, ContainerID cid) throws IMTPException
- Throws:
IMTPException
-
toolAdded
void toolAdded(AID tool)
-
toolRemoved
void toolRemoved(AID tool)
-
containerIDs
ContainerID[] containerIDs()
-
agentNames
AID[] agentNames()
-
containerMTPs
List containerMTPs(ContainerID cid) throws NotFoundException
- Throws:
NotFoundException
-
containerAgents
List containerAgents(ContainerID cid) throws NotFoundException
- Throws:
NotFoundException
-
getContainerID
ContainerID getContainerID(AID agentID) throws NotFoundException
- Throws:
NotFoundException
-
getContainerNode
NodeDescriptor getContainerNode(ContainerID cid) throws NotFoundException
- Throws:
NotFoundException
-
acquireAgentDescriptor
AgentDescriptor acquireAgentDescriptor(AID agentID)
-
releaseAgentDescriptor
void releaseAgentDescriptor(AID agentID)
-
-