|
2008-02-07 1.1.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 BaseDeviceService and provides the controls for the device.
The list of exported services:
BaseDeviceService,
DeviceService| Field Summary | |
|---|---|
protected Measurement |
capabilities
Defines the Capabilities measurement. |
static java.lang.String |
CLASS_NAME
Defines the full 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, INTEGER_TABLE_SIZE, 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 | |
|---|---|
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. |
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, findMethod, 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 java.lang.String getDefaultKey()
getDefaultKey in class DeviceContainer.getDefaultKey()public TransportService getDefaultTransport()
public int getControlCapacity()
getControlCapacity in class Containerpublic int getMessageCapacity()
getMessageCapacity in class Devicepublic MeasurementService getStatus()
getStatus in class DeviceContainer.broadcastStatus(),
Container.broadcastStatus(Object,int,int)public MeasurementService getConfiguration()
getConfiguration in class Devicepublic MeasurementService getCapabilities()
getCapabilities in class Device
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||