|
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.DeviceRegistry
public class DeviceRegistry
The DeviceRegistry class implements the DeviceService interface.
Container,
Control,
Device,
DeviceRegistry,
ControlService,
ControlRegistry,
ErrorListener,
MessageHandler| 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 |
| Fields inherited from interface org.eclipse.soda.dk.device.service.DeviceRegistryService |
|---|
SERVICE_NAME |
| Constructor Summary | |
|---|---|
DeviceRegistry()
Constructs an DeviceRegistry object. |
|
| Method Summary | |
|---|---|
void |
exit()
Exit. |
protected void |
finalize()
Perform the finalize action method. |
static DeviceRegistry |
getDefaultDeviceRegistry()
Get the default device registry. |
java.lang.String |
getDefaultKey()
Gets the default key (String) value. |
DeviceService |
getDevice(java.lang.String key)
Sets the devices property. |
protected DeviceService[] |
getDevices()
Gets the org.eclipse.soda.dk.device.service.DeviceService [] devices property value. |
static void |
setDefaultDeviceRegistry(DeviceRegistry defaultDeviceRegistry)
Sets the default device registry property. |
protected void |
setDevices(DeviceService[] devices)
Sets the devices property. |
void |
start()
Perform the start action method. |
void |
stop()
Perform the stop action method. |
| Methods inherited from class org.eclipse.soda.dk.device.Device |
|---|
addDeviceListener, controlAdded, controlRemoved, fireContainerChanged, fireErrorOccurred, getCapabilities, getConfiguration, getDeviceListener, getMessageCapacity, getMessageKey, getPriority, getReadTimeout, getStatus, getThread, hasListeners, isAutoStart, isBlockProcessing, isEvenProcessing, isRunning, isStarted, isThreadNeeded, load, put, remove, removeDeviceListener, restart, run, 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.ControlRegistry |
|---|
get, put |
| Methods inherited from interface org.eclipse.soda.dk.device.service.DeviceRegistryService |
|---|
getCommand, getMeasurement, getSignal, put, remove |
| Constructor Detail |
|---|
public DeviceRegistry()
DeviceRegistry object.
getDefaultDeviceRegistry(),
setDefaultDeviceRegistry(DeviceRegistry)| Method Detail |
|---|
public static DeviceRegistry getDefaultDeviceRegistry()
setDefaultDeviceRegistry(DeviceRegistry)public static final void setDefaultDeviceRegistry(DeviceRegistry defaultDeviceRegistry)
defaultDeviceRegistry - The new property value (org.eclipse.soda.dk.device.DeviceRegistry).getDefaultDeviceRegistry()public void exit()
exit in interface DeviceServiceexit in class Container
protected void finalize()
throws java.lang.Throwable
finalize in class Device - href="java.lang.Throwable.html">Throwable Thrown if the Throwable exception condition occurs.
java.lang.Throwablepublic java.lang.String getDefaultKey()
getDefaultKey in class DeviceString) value.Container.getDefaultKey()public DeviceService getDevice(java.lang.String key)
getDevice in interface DeviceRegistryServicekey - The key (String) parameter.
DeviceService) value.protected DeviceService[] getDevices()
org.eclipse.soda.dk.device.service.DeviceService [] devices property value.
DeviceService[]) value.setDevices(DeviceService[])protected void setDevices(DeviceService[] devices)
devices - The new property value (org.eclipse.soda.dk.device.service.DeviceService[]).getDevices()public void start()
start in interface DeviceServicestart in class DeviceDeviceService.start()public void stop()
stop in interface DeviceServicestop in class DeviceDeviceService.stop()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||