jade.core
Interface AgentContainer

All Known Implementing Classes:
AgentContainerImpl

public interface AgentContainer

Version:
$Date: 2002/09/12 07:59:33 $ $Revision: 2.25 $
Author:
Giovanni Rimassa - Universita` di Parma

Field Summary
static int ADD_RT
           
static int DEL_RT
           
static boolean NOSTART
           
static boolean START
           
static boolean TRANSFER_ABORT
           
static boolean TRANSFER_COMMIT
           
 
Method Summary
 void changeAgentPrincipal(AID agentID, jade.security.CertificateFolder certs)
           
 void changeContainerPrincipal(jade.security.CertificateFolder certs)
           
 void changedAgentPrincipal(AID agentID, jade.security.AgentPrincipal principal)
           
 void copyAgent(AID agentID, Location where, java.lang.String newName)
           
 void createAgent(AID agentID, byte[] serializedInstance, AgentContainer classSite, boolean startIt)
           
 void createAgent(AID agentID, java.lang.String className, java.lang.Object[] arguments, java.lang.String ownership, jade.security.CertificateFolder certs, boolean startIt)
           
 void disableDebugger(AID debuggerName, AID notToBeDebugged)
           
 void disableSniffer(AID snifferName, AID notToBeSniffed)
           
 void dispatch(ACLMessage msg, AID receiverID)
           
 void enableDebugger(AID debuggerName, AID toBeDebugged)
           
 void enableSniffer(AID snifferName, AID toBeSniffed)
           
 void exit()
           
 byte[] fetchClassFile(java.lang.String name)
           
 jade.mtp.MTPDescriptor installMTP(java.lang.String address, java.lang.String className)
           
 void killAgent(AID agentID)
           
 void moveAgent(AID agentID, Location where)
           
 void ping(boolean hang)
           
 void postTransferResult(AID agentID, boolean result, List messages)
           
 void resumeAgent(AID agentID)
           
 void routeOut(ACLMessage msg, AID receiver, java.lang.String address)
           
 void suspendAgent(AID agentID)
           
 void uninstallMTP(java.lang.String address)
           
 void updateRoutingTable(int op, jade.mtp.MTPDescriptor mtp, AgentContainer ac)
           
 void waitAgent(AID agentID)
           
 void wakeAgent(AID agentID)
           
 

Field Detail

NOSTART

public static final boolean NOSTART

START

public static final boolean START

TRANSFER_ABORT

public static final boolean TRANSFER_ABORT

TRANSFER_COMMIT

public static final boolean TRANSFER_COMMIT

ADD_RT

public static final int ADD_RT

DEL_RT

public static final int DEL_RT
Method Detail

createAgent

public void createAgent(AID agentID,
                        java.lang.String className,
                        java.lang.Object[] arguments,
                        java.lang.String ownership,
                        jade.security.CertificateFolder certs,
                        boolean startIt)
                 throws IMTPException

createAgent

public void createAgent(AID agentID,
                        byte[] serializedInstance,
                        AgentContainer classSite,
                        boolean startIt)
                 throws IMTPException,
                        jade.security.AuthException

fetchClassFile

public byte[] fetchClassFile(java.lang.String name)
                      throws IMTPException,
                             java.lang.ClassNotFoundException

suspendAgent

public void suspendAgent(AID agentID)
                  throws IMTPException,
                         NotFoundException

resumeAgent

public void resumeAgent(AID agentID)
                 throws IMTPException,
                        NotFoundException

waitAgent

public void waitAgent(AID agentID)
               throws IMTPException,
                      NotFoundException

wakeAgent

public void wakeAgent(AID agentID)
               throws IMTPException,
                      NotFoundException

changeAgentPrincipal

public void changeAgentPrincipal(AID agentID,
                                 jade.security.CertificateFolder certs)
                          throws IMTPException,
                                 NotFoundException

changedAgentPrincipal

public void changedAgentPrincipal(AID agentID,
                                  jade.security.AgentPrincipal principal)
                           throws IMTPException

changeContainerPrincipal

public void changeContainerPrincipal(jade.security.CertificateFolder certs)
                              throws IMTPException

moveAgent

public void moveAgent(AID agentID,
                      Location where)
               throws IMTPException,
                      NotFoundException

copyAgent

public void copyAgent(AID agentID,
                      Location where,
                      java.lang.String newName)
               throws IMTPException,
                      NotFoundException

killAgent

public void killAgent(AID agentID)
               throws IMTPException,
                      NotFoundException

exit

public void exit()
          throws IMTPException

postTransferResult

public void postTransferResult(AID agentID,
                               boolean result,
                               List messages)
                        throws IMTPException,
                               NotFoundException

dispatch

public void dispatch(ACLMessage msg,
                     AID receiverID)
              throws IMTPException,
                     NotFoundException

ping

public void ping(boolean hang)
          throws IMTPException

installMTP

public jade.mtp.MTPDescriptor installMTP(java.lang.String address,
                                         java.lang.String className)
                                  throws IMTPException,
                                         jade.mtp.MTPException

uninstallMTP

public void uninstallMTP(java.lang.String address)
                  throws IMTPException,
                         NotFoundException,
                         jade.mtp.MTPException

updateRoutingTable

public void updateRoutingTable(int op,
                               jade.mtp.MTPDescriptor mtp,
                               AgentContainer ac)
                        throws IMTPException

routeOut

public void routeOut(ACLMessage msg,
                     AID receiver,
                     java.lang.String address)
              throws IMTPException,
                     jade.mtp.MTPException

enableSniffer

public void enableSniffer(AID snifferName,
                          AID toBeSniffed)
                   throws IMTPException

disableSniffer

public void disableSniffer(AID snifferName,
                           AID notToBeSniffed)
                    throws IMTPException

enableDebugger

public void enableDebugger(AID debuggerName,
                           AID toBeDebugged)
                    throws IMTPException

disableDebugger

public void disableDebugger(AID debuggerName,
                            AID notToBeDebugged)
                     throws IMTPException