|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.execution.core.impl.ExecutionComponentImpl
org.eclipse.hyades.execution.core.impl.JavaTaskRemoteHyadesComponentImpl
At present, this class does not provide much functionality. Most of the monitoring operations are implemented entirely in the stub layer.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.hyades.execution.core.impl.ExecutionComponentImpl |
|---|
children, id, name, node, parent, state, stateChangeListeners, type, version |
| Fields inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent |
|---|
DEAD, INACTIVE, NOT_CONFIGURED, READY, SUSPENDED |
| Constructor Summary | |
|---|---|
JavaTaskRemoteHyadesComponentImpl()
|
|
| Method Summary | |
|---|---|
boolean |
isActive()
This method is implemented in the stub layer. |
boolean |
isLocked()
Determine is this agent is currently attached to a client. |
boolean |
isMonitored()
This method is implemented in the stub layer. |
void |
lock(long timeout)
The lock request will either succeed within the specified timeout, or will throw a TimeoutException. |
void |
startMonitoring(IDataChannel processor)
This method is implemented in the stub layer. |
void |
startMonitoring(IDataProcessor processor)
This method is implemented in the stub layer. |
void |
stopMonitoring()
This method is implemented in the stub layer. |
void |
unlock()
Unlocks the component for use by other readers. |
| Methods inherited from class org.eclipse.hyades.execution.core.impl.ExecutionComponentImpl |
|---|
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getNode, getParent, getState, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent |
|---|
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getNode, getParent, getState, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent |
| Constructor Detail |
public JavaTaskRemoteHyadesComponentImpl()
| Method Detail |
public boolean isActive()
isActive in interface IRemoteHyadesComponentIRemoteHyadesComponent.isActive()public boolean isMonitored()
isMonitored in interface IRemoteHyadesComponentIRemoteHyadesComponent.isMonitored()public boolean isLocked()
IRemoteHyadesComponent
isLocked in interface IRemoteHyadesComponentIRemoteHyadesComponent.isLocked()
public void lock(long timeout)
throws TimeoutException
IRemoteHyadesComponentThe lock request will either succeed within the specified timeout, or will throw a TimeoutException. If the IRemoteHyadesComponent supports multiple readers, it can allow multiple readers to have simultaneous locks.
lock in interface IRemoteHyadesComponenttimeout - The number of milliseconds that during which the lock will
attempt to be acquired.
TimeoutException - If the lock can not be acquired within the
specified timeout.IRemoteHyadesComponent.lock(long)public void unlock()
IRemoteHyadesComponent
unlock in interface IRemoteHyadesComponentIRemoteHyadesComponent.unlock()
public void startMonitoring(IDataChannel processor)
throws ExecutionComponentStateException
startMonitoring in interface IRemoteHyadesComponentprocessor - a reader to process the captured data
ExecutionComponentStateException - if the remote hyades component
is not in a state that can accept this call.IRemoteHyadesComponent.startMonitoring(org.eclipse.hyades.execution.core.IDataChannel)
public void stopMonitoring()
throws ExecutionComponentStateException
stopMonitoring in interface IRemoteHyadesComponentExecutionComponentStateException - if the remote hyades component
is not in a state that can accept this call.IRemoteHyadesComponent.stopMonitoring()
public void startMonitoring(IDataProcessor processor)
throws ExecutionComponentStateException
startMonitoring in interface IRemoteHyadesComponentExecutionComponentStateExceptionIRemoteHyadesComponent.startMonitoring(org.eclipse.hyades.execution.core.IDataProcessor)
|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||