SMILA (incubation) API documentation

org.eclipse.smila.connectivity.framework.agent.mock
Class MockAgent

java.lang.Object
  extended by org.eclipse.smila.connectivity.framework.AbstractAgent
      extended by org.eclipse.smila.connectivity.framework.agent.mock.MockAgent
All Implemented Interfaces:
java.lang.Runnable, Agent

public class MockAgent
extends AbstractAgent

Implementation of a MockAgent.


Constructor Summary
MockAgent()
          Default Constructor.
 
Method Summary
protected  void initialize()
          Method to contain initialization of the agent.
 void run()
          
 
Methods inherited from class org.eclipse.smila.connectivity.framework.AbstractAgent
activate, deactivate, getAgentId, getAgentState, getAttachmentsByteLength, getConfig, getControllerCallback, getCounterHelper, getSessionId, initializePerformanceCounterHelper, isStopThread, start, stop, stopThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockAgent

public MockAgent()
Default Constructor.

Method Detail

run

public void run()

See Also:
Runnable.run()

initialize

protected void initialize()
                   throws AgentException
Method to contain initialization of the agent. Must be implemented by subclasses. This method is called just before the AgentThread is started.

Specified by:
initialize in class AbstractAgent
Throws:
AgentException - if any error occurs
See Also:
AbstractAgent.initialize()

SMILA (incubation) API documentation