jade.wrapper
Interface AgentController

All Known Implementing Classes:
Agent

public interface AgentController

Defines those methods which are permitted to control a JADE agent.
NOT available in MIDP

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.
ControllerException

start

public void start()
           throws ControllerException
Start the agent.

ControllerException

suspend

public void suspend()
             throws ControllerException
Suspend the agent.

ControllerException

activate

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

ControllerException

kill

public void kill()
          throws ControllerException
Kill the agent.

ControllerException

getState

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

Returns:
The agent's state.
ControllerException


JADE