TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.execution.client.agent.internal
Class CollectorImpl

java.lang.Object
  extended by org.eclipse.tptp.platform.execution.client.agent.internal.AgentImpl
      extended by org.eclipse.tptp.platform.execution.client.agent.internal.CollectorImpl
All Implemented Interfaces:
org.eclipse.tptp.platform.execution.client.agent.IAgent, org.eclipse.tptp.platform.execution.client.agent.ICollector, IConnectionListener, IProcessListener

public class CollectorImpl
extends AgentImpl
implements org.eclipse.tptp.platform.execution.client.agent.ICollector


Field Summary
 
Fields inherited from class org.eclipse.tptp.platform.execution.client.agent.internal.AgentImpl
_autoAttach, _dataProcessor, _isActive, _listeners, _name, _process, _profileFile, _type, _uuid, _version, agentMetadata, agentMode
 
Constructor Summary
CollectorImpl()
           
CollectorImpl(java.lang.String name)
           
CollectorImpl(java.lang.String name, java.lang.String type)
           
 
Method Summary
 void cancel()
           
 int getAgentState()
           
 void handleCommand(org.eclipse.tptp.platform.execution.util.ICommandElement command)
           
 boolean isAgentPaused()
           
 boolean isAgentRunning()
          Checks if agent is running and returns true/false
 void pause()
           
 void resume()
           
 void run()
           
 void stop()
           
 
Methods inherited from class org.eclipse.tptp.platform.execution.client.agent.internal.AgentImpl
addAgentListener, addDataListener, addEventListener, attach, connectionClosed, detach, getAgentController, getAgentInstanceId, getAgentListener, getAgentMetaData, getAgentMode, getAgentTokenId, getName, getProcess, getSupportedInterfaces, getType, getUUID, getVersion, handleAgentCommand, isActive, isAttached, isAttached, isAutoAttach, isMonitored, processExited, processLaunched, receiveData, releaseAccess, releaseControl, removeAgentListener, removeEventListener, requestAccess, requestControl, sendCommand, sendCommand, sendData, sendData, sendDataWithoutDime, setAgentController, setAgentInstanceId, setAgentMode, setAgentTokenId, setName, setProcess, setType, setUUID, setVersion, startMonitoring, startMonitoring, startMonitoring, stopMonitoring, stopMonitoring
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.tptp.platform.execution.client.agent.IAgent
addAgentListener, addDataListener, addEventListener, getAgentListener, getAgentMetaData, getAgentMode, getName, getProcess, getSupportedInterfaces, isMonitored, receiveData, releaseAccess, releaseControl, removeEventListener, requestAccess, requestControl, sendCommand, sendCommand, sendData, setProcess, startMonitoring, startMonitoring, startMonitoring, stopMonitoring
 

Constructor Detail

CollectorImpl

public CollectorImpl()

CollectorImpl

public CollectorImpl(java.lang.String name)

CollectorImpl

public CollectorImpl(java.lang.String name,
                     java.lang.String type)
Method Detail

isAgentRunning

public boolean isAgentRunning()
Checks if agent is running and returns true/false

Specified by:
isAgentRunning in interface org.eclipse.tptp.platform.execution.client.agent.ICollector

isAgentPaused

public boolean isAgentPaused()

run

public void run()
Specified by:
run in interface org.eclipse.tptp.platform.execution.client.agent.ICollector

stop

public void stop()
Specified by:
stop in interface org.eclipse.tptp.platform.execution.client.agent.ICollector

cancel

public void cancel()
Specified by:
cancel in interface org.eclipse.tptp.platform.execution.client.agent.ICollector

pause

public void pause()
Specified by:
pause in interface org.eclipse.tptp.platform.execution.client.agent.ICollector

resume

public void resume()
Specified by:
resume in interface org.eclipse.tptp.platform.execution.client.agent.ICollector

getAgentState

public int getAgentState()
Specified by:
getAgentState in interface org.eclipse.tptp.platform.execution.client.agent.ICollector

handleCommand

public void handleCommand(org.eclipse.tptp.platform.execution.util.ICommandElement command)

TPTP 4.6.0 Platform Project
Internal API Specification