|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.device.Control
org.eclipse.soda.dk.device.Container
org.eclipse.soda.dk.device.Device
org.eclipse.soda.dk.device.TransportDevice
org.eclipse.soda.dk.device.ThreadDevice
public abstract class ThreadDevice
| Field Summary |
|---|
| Fields inherited from class org.eclipse.soda.dk.device.Device |
|---|
POLL_COMMAND_NAME, START_COMMAND_NAME, STARTED_MASK, STOP_COMMAND_NAME |
| Fields inherited from class org.eclipse.soda.dk.device.Control |
|---|
EXCEPTION_READ_FAILED_RESOURCE, SETVALUEEXCEPTION_RESOURCE |
| Fields inherited from class org.eclipse.soda.dk.core.EscObject |
|---|
CLONE_EXCEPTION_RESOURCE, EMPTY_BYTES, EMPTY_STRING, ERROR_OCCURRED_EXCEPTION_RESOURCE, ID_FILTER_KEY, ID_KEY, ID_KEY_ANY, INTEGER_TABLE, KEY_KEY, LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_TRACE, LOG_WARNING, PREFIX_KEY, RESOURCE_BUNDLE, SLEEP_EXCEPTION_RESOURCE, SYSTEM_INFO_RESOURCE, TO_STRING_CONFIGURATION_KEYS, TRACE_LEVEL_HIGH, TRACE_LEVEL_LOW, TRACE_LEVEL_MAX, TRACE_LEVEL_MIN, TRACE_LEVEL_NONE, TRACE_LEVEL_NORMAL, TRACELEVEL_KEY, UNKNOWN_ERROR_RESOURCE |
| Constructor Summary | |
|---|---|
ThreadDevice()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
boolean |
isThreadNeeded()
Gets the thread needed (boolean) value. |
void |
process(ControlService control)
Process with the specified control parameter. |
void |
run()
Run. |
void |
setProcessingControls(ControlService[] processingControls)
Sets the processing controls value. |
| Methods inherited from class org.eclipse.soda.dk.device.TransportDevice |
|---|
errorOccurred, exit, getDefaultTransport, getInterest, getMessageListeners, getTransport, load, messageReceived, register, registerMessageHandler, registerMessageHandler, send, setState, setTransport, setup, start, stop, transportChanged, unregister |
| Methods inherited from class org.eclipse.soda.dk.device.Device |
|---|
addDeviceListener, controlAdded, controlRemoved, finalize, fireContainerChanged, fireErrorOccurred, getCapabilities, getConfiguration, getDefaultKey, getDeviceListener, getMessageCapacity, getMessageKey, getPriority, getReadTimeout, getStatus, getThread, hasListeners, isAutoStart, isBlockProcessing, isEvenProcessing, isRunning, isStarted, put, remove, removeDeviceListener, restart, setDeviceListener, setReadTimeout, setRunning, setStarted, setThread, startup |
| Methods inherited from class org.eclipse.soda.dk.device.Control |
|---|
equalsValue, getCodeKey, getKey, getQualifiedKey, getResource, setKey, setQualifiedKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.device.service.DeviceService |
|---|
elements, get, getCommand, getConfigurationInformation, getMeasurement, getNotificationService, getSignal, getState, setConfigurationInformation, setNotificationService |
| Methods inherited from interface org.eclipse.soda.dk.device.service.ControlService |
|---|
getKey |
| Constructor Detail |
|---|
public ThreadDevice()
| Method Detail |
|---|
public boolean isThreadNeeded()
isThreadNeeded in class Deviceboolean) value.public void process(ControlService control)
control - The control (ControlService) parameter.public void run()
run in interface java.lang.Runnablerun in class Devicepublic void setProcessingControls(ControlService[] processingControls)
processingControls - The processing controls (ControlService[]) parameter.
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||