TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.hyades.internal.execution.local.control
Interface AgentListener

All Known Subinterfaces:
AgentPeerListener
All Known Implementing Classes:
InstrumentProcessListener, MultiplexedDataServer, PIProcessListener, ProcessImpl

public interface AgentListener


Method Summary
 void agentActive(Agent agent)
          Invoked when an agent first becomes active
 void agentInactive(Agent agent)
          Invoked when an agent becomes inactive.
 void error(Agent agent, java.lang.String errorId, java.lang.String errorMessage)
          Invoked when an error is recieved from the agent.
 void handleCommand(Agent agent, CommandElement command)
          Invoked when there is no established handler for the context of a message.
 

Method Detail

agentActive

public void agentActive(Agent agent)
Invoked when an agent first becomes active


agentInactive

public void agentInactive(Agent agent)
Invoked when an agent becomes inactive.


error

public void error(Agent agent,
                  java.lang.String errorId,
                  java.lang.String errorMessage)
Invoked when an error is recieved from the agent.


handleCommand

public void handleCommand(Agent agent,
                          CommandElement command)
Invoked when there is no established handler for the context of a message.


TPTP 4.2.0 Platform Project
Internal API Specification