jade.core
Interface MainContainer

All Known Implementing Classes:
MainContainerImpl

public interface MainContainer

Version:
$Date: 2006-02-21 08:56:26 +0100 (mar, 21 feb 2006) $ $Revision: 5860 $
Author:
Giovanni Rimassa - Universita' di Parma

Method Summary
 AgentDescriptor acquireAgentDescriptor(AID agentID)
           
 AID[] agentNames()
           
 void bornAgent(AID name, ContainerID cid, jade.security.JADEPrincipal principal, java.lang.String ownership, boolean forceReplacement)
           
 List containerAgents(ContainerID cid)
           
 ContainerID[] containerIDs()
           
 List containerMTPs(ContainerID cid)
           
 void deadAgent(AID name, boolean containerRemoved)
           
 void deadMTP(MTPDescriptor mtp, ContainerID cid)
           
 void frozenAgent(AID name, ContainerID bufferContainer)
           
 ContainerID getContainerID(AID agentID)
           
 NodeDescriptor getContainerNode(ContainerID cid)
           
 void movedAgent(AID agentID, ContainerID from, ContainerID to)
           
 void newMTP(MTPDescriptor mtp, ContainerID cid)
           
 void releaseAgentDescriptor(AID agentID)
           
 void resumedAgent(AID name)
           
 void suspendedAgent(AID name)
           
 void thawedAgent(AID name, ContainerID bufferContainer)
           
 void toolAdded(AID tool)
           
 void toolRemoved(AID tool)
           
 

Method Detail

bornAgent

void bornAgent(AID name,
               ContainerID cid,
               jade.security.JADEPrincipal principal,
               java.lang.String ownership,
               boolean forceReplacement)
               throws NameClashException,
                      NotFoundException
Throws:
NameClashException
NotFoundException

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)