|
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.base.device.BaseDevice
public abstract class BaseDevice
Base Device. The BaseDevice class implements the device service and provides the controls for the device.
The list of exported services:
BaseDeviceService,
See the following specification(s) for more details:
| Field Summary | |
|---|---|
protected Measurement |
capabilities
Defines the Capabilities measurement. |
static java.lang.String |
CLASS_NAME
Defines the class name. |
protected Measurement |
configuration
Defines the Configuration measurement. |
protected Measurement |
status
Defines the Status measurement. |
| 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 |
| Fields inherited from interface org.eclipse.soda.dk.base.device.service.BaseDeviceService |
|---|
ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, BaseDevice, Capabilities, CAPABILITIES_EXTERNAL_KEY, CAPABILITIES_GET_EXTERNAL_KEY, CAPABILITIES_READ_EXTERNAL_KEY, CAPABILITIES_WRITE_EXTERNAL_KEY, Configuration, CONFIGURATION_EXTERNAL_KEY, CONFIGURATION_GET_EXTERNAL_KEY, CONFIGURATION_READ_EXTERNAL_KEY, CONFIGURATION_WRITE_EXTERNAL_KEY, SERVICE_NAME, Status, STATUS_EXTERNAL_KEY, STATUS_GET_EXTERNAL_KEY, STATUS_READ_EXTERNAL_KEY, STATUS_WRITE_EXTERNAL_KEY |
| Constructor Summary | |
|---|---|
BaseDevice()
Constructs a new instance of the BaseDevice class. |
|
| Method Summary | |
|---|---|
MeasurementService |
getCapabilities()
Defines the Capabilities measurement. |
MeasurementService |
getConfiguration()
Defines the Configuration measurement. |
int |
getControlCapacity()
Gets the control capacity. |
java.lang.String |
getDefaultKey()
Gets the default key of the device. |
TransportService |
getDefaultTransport()
Gets the default TransportService.@return TransportService The default TransportService. |
int |
getMessageCapacity()
Gets the message capacity. |
MeasurementService |
getStatus()
Defines the Status measurement. |
| Methods inherited from class org.eclipse.soda.dk.device.Device |
|---|
addDeviceListener, controlAdded, controlRemoved, finalize, fireContainerChanged, fireErrorOccurred, getDeviceListener, getMessageKey, getPriority, getReadTimeout, getThread, hasListeners, isAutoStart, isBlockProcessing, isEvenProcessing, isRunning, isStarted, isThreadNeeded, load, put, remove, removeDeviceListener, restart, run, setDeviceListener, setReadTimeout, setRunning, setStarted, setThread, start, startup, stop |
| 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 |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
protected final Measurement status
protected final Measurement configuration
protected final Measurement capabilities
| Constructor Detail |
|---|
public BaseDevice()
| Method Detail |
|---|
public MeasurementService getCapabilities()
getCapabilities in class DeviceMeasurementService) value.public MeasurementService getConfiguration()
getConfiguration in class DeviceMeasurementService) value.public int getControlCapacity()
getControlCapacity in class Containerint) value.public java.lang.String getDefaultKey()
getDefaultKey in class DeviceContainer.getDefaultKey()public TransportService getDefaultTransport()
TransportService) value.public int getMessageCapacity()
getMessageCapacity in class Devicepublic MeasurementService getStatus()
getStatus in class DeviceMeasurementService) value.Container.broadcastStatus(),
Container.broadcastStatus(Object,int,int)
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||