com.cometway.ak
Interface AgentControllerInterface

All Known Implementing Classes:
AgentController

public interface AgentControllerInterface

An instance if this interface is created and managed by an implementation of AgentKernelInterface as a proxy to the AgentInterface it represents.


Method Summary
 void destroy()
          Destroys the controlled Agent and puts it into the DESTROYED_STATE.
 Props getProps()
          Returns the Props for the controlled Agent.
 void start()
          Starts the controlled Agent and puts it into the RUNNING_STATE.
 void stop()
          Starts the controlled Agent and puts it into the STOPPED_STATE.
 

Method Detail

getProps

Props getProps()
Returns the Props for the controlled Agent.


start

void start()
Starts the controlled Agent and puts it into the RUNNING_STATE.


stop

void stop()
Starts the controlled Agent and puts it into the STOPPED_STATE.


destroy

void destroy()
Destroys the controlled Agent and puts it into the DESTROYED_STATE. A destroyed agent cannot be restarted.