c4jason
Class CartagoEnvironment
java.lang.Object
Environment
c4jason.CartagoEnvironment
public class CartagoEnvironment
- extends Environment
Jason Environment Class enabling access to CArtAgO environments.
- Author:
- aricci
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CartagoEnvironment
public CartagoEnvironment()
init
public void init(java.lang.String[] args)
getInstance
public static CartagoEnvironment getInstance()
- Get the instance of this environment.
- Returns:
startSession
public ICartagoSession startSession(java.lang.String agName,
CAgentArch arch)
throws java.lang.Exception
- Join an agent to the default workspace of the node
- Parameters:
agName
- agent nodearch
- agent arch. class
- Returns:
- the interface to act inside the workspace
- Throws:
java.lang.Exception
stop
public void stop()
>DEIS - University of Bologna