Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

sajas.wrapper
Class ContainerController
java.lang.Object
  sajas.wrapper.ContainerController

public class ContainerController
extends Object
The controller for a container. It provides means to create, add and remove agents, and to kill the container, similar to JADE's API.
Author:
hlc
See Also:
jade.wrapper.ContainerController

Constructor Summary
ContainerController()
Method Summary
acceptNewAgent(String nickname, Agent agent)
createNewAgent(String nickname, String className, Object[] args)
getPlatformController()
void
kill()
void
removeAgent(Agent agent)
          Uased by sajas.core.Agent after terminating execution.
void
setPlaformController(PlatformController platformController)
          Used by sajas.core.Runtime to appropriately set the PlatformController of this container controller.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
ContainerController
public ContainerController()
Method Detail
createNewAgent
public AgentController createNewAgent(String nickname,
                                      String className,
                                      Object[] args)
                               throws jade.wrapper.StaleProxyException
Throws:
jade.wrapper.StaleProxyException
See Also:
jade.wrapper.ContainerController.createNewAgent(String, String, Object[])

acceptNewAgent
public AgentController acceptNewAgent(String nickname,
                                      Agent agent)
                               throws jade.wrapper.StaleProxyException
Throws:
jade.wrapper.StaleProxyException
See Also:
jade.wrapper.ContainerController.acceptNewAgent(String, jade.core.Agent)

removeAgent
public void removeAgent(Agent agent)
Uased by sajas.core.Agent after terminating execution. Programmers should have no need to use this method.

kill
public void kill()
          throws jade.wrapper.StaleProxyException
Throws:
jade.wrapper.StaleProxyException
See Also:
jade.wrapper.ContainerController.kill()

setPlaformController
public void setPlaformController(PlatformController platformController)
Used by sajas.core.Runtime to appropriately set the PlatformController of this container controller. Programmers should have no need to use this method.

getPlatformController
public PlatformController getPlatformController()
                                         throws jade.wrapper.ControllerException
Throws:
jade.wrapper.ControllerException
See Also:
jade.wrapper.ContainerController.getPlatformController()

Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Java API documentation generated with DocFlex/Doclet 1.6.1 using JavadocPro template set.
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc, which is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com