jade.wrapper
Interface AgentController

All Known Implementing Classes:
Agent

public interface AgentController

Defines those methods which are permitted to control a JADE agent.

Author:
David Bell, Dick Cowan: Hewlett-Packard

Method Summary
 void activate()
          Activate a suspended agent.
 java.lang.String getName()
          Get the platforms name of the agent.
 State getState()
          Get the agent's state.
 void kill()
          Kill the agent.
 void start()
          Start the agent.
 void suspend()
          Suspend the agent.
 

Method Detail

getName

public java.lang.String getName()
                         throws ControllerException
Get the platforms name of the agent. This name would be what the platform would use to uniquely reference this agent.
Returns:
The agents name.

start

public void start()
           throws ControllerException
Start the agent.

suspend

public void suspend()
             throws ControllerException
Suspend the agent.

activate

public void activate()
              throws ControllerException
Activate a suspended agent.

kill

public void kill()
          throws ControllerException
Kill the agent.

getState

public State getState()
               throws ControllerException
Get the agent's state.
Returns:
The agent's state.