|
2009-01-09 1.2.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 |
|---|
channelChanged, channels, closeChannel, openChannel, 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, SET_VALUE_EXCEPTION_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)
Get device with the specified key parameter and return the DeviceService result. |
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 value. |
protected void |
setDevices(DeviceService[] devices)
Sets the devices value. |
void |
start()
Perform the start action method. |
void |
stop()
Perform the stop action method. |
| 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 |
| 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 default device registry (DeviceRegistry) parameter.getDefaultDeviceRegistry()public void exit()
exit in interface DeviceServiceexit in class Container
protected void finalize()
throws java.lang.Throwable
finalize in class Devicejava.lang.Throwable - Throwable.public 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 devices (DeviceService[]) parameter.getDevices()public void start()
start in interface DeviceServicestart in class DeviceDeviceService.start()public void stop()
stop in interface DeviceServicestop in class DeviceDeviceService.stop()
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||