|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeviceRegistryService
The DeviceRegistryService interface defines the DeviceManagerService concept. A DeviceManagerService encapsulates many DeviceServices. The DeviceManagerService provides access to all of the Commands, Measurements, and Signals which are available from its constituent DeviceServices. A DeviceManagerService may also contain its own Controls.
DeviceRegistry,
DeviceService| Field Summary | |
|---|---|
static java.lang.String |
SERVICE_NAME
Define the OSGi service name. |
| Method Summary | |
|---|---|
CommandService |
getCommand(java.lang.String key)
Perform the getCommand method and return the CommandService result. |
DeviceService |
getDevice(java.lang.String key)
Perform the getDevice method and return the CommandService result. |
MeasurementService |
getMeasurement(java.lang.String key)
Perform the getMeasurement method and return the MeasurementService result. |
SignalService |
getSignal(java.lang.String key)
Perform the getSignal method and return the SignalService result. |
void |
put(java.lang.String key,
ControlService control)
Perform the put action method. |
void |
remove(java.lang.String key)
Perform the remove action method. |
| Methods inherited from interface org.eclipse.soda.dk.device.service.DeviceService |
|---|
addDeviceListener, elements, exit, get, getConfigurationInformation, getNotificationService, getState, getTransport, isStarted, removeDeviceListener, send, setConfigurationInformation, setNotificationService, setTransport, start, stop |
| Methods inherited from interface org.eclipse.soda.dk.device.service.ControlService |
|---|
getKey |
| Field Detail |
|---|
static final java.lang.String SERVICE_NAME
| Method Detail |
|---|
CommandService getCommand(java.lang.String key)
CommandService result.
This method returns the CommandService contained within the DeviceServiceManager or one of its
constituent DeviceServices, whose key matches the key argument.
getCommand in interface DeviceServicekey - String
CommandService) value.DeviceService getDevice(java.lang.String key)
CommandService result.
This method returns a DeviceService contained within this DeviceServiceManager, whose key
is equal to the key argument.
key - String
DeviceService) value.MeasurementService getMeasurement(java.lang.String key)
MeasurementService result.
This method returns the MeasurementService contained within the DeviceServiceManager or one of its
constituent DeviceServices, whose key matches the key argument.
getMeasurement in interface DeviceServicekey - String
MeasurementService) value.SignalService getSignal(java.lang.String key)
SignalService result.
This method returns the SignalService contained within the DeviceServiceManager or one of its
constituent DeviceServices, whose key matches the key argument.
getSignal in interface DeviceServicekey - String
SignalService) value.
void put(java.lang.String key,
ControlService control)
put in interface DeviceServicekey - java.lang.Stringcontrol - org.eclipse.soda.dk.device.service.ControlServicevoid remove(java.lang.String key)
remove in interface DeviceServicekey - String
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||