Interface DeviceRegistry
- All Superinterfaces:
DeviceRegistryOperations
- All Known Implementing Classes:
AbstractDeviceRegistry,DeviceRegistryProxy
A place to interact with and locate registered devices.
- Author:
- Dennis Pidun, University of Hildesheim
-
Method Summary
Modifier and TypeMethodDescriptionReturns a device descriptor of an available device.Returns a device descriptor of an available device.Collection<? extends DeviceDescriptor> Returns the available (registered and active) devices.getIds()Returns the ids of all registered devices.Returns the managed ids of all registered devices.Methods inherited from interface de.iip_ecosphere.platform.deviceMgt.registry.DeviceRegistryOperations
addDevice, imAlive, removeDevice, sendTelemetry
-
Method Details
-
getIds
Returns the ids of all registered devices.- Returns:
- the ids
-
getManagedIds
Returns the managed ids of all registered devices.- Returns:
- the ids
-
getDevices
Collection<? extends DeviceDescriptor> getDevices()Returns the available (registered and active) devices.- Returns:
- the device descriptors
-
getDevice
Returns a device descriptor of an available device.- Parameters:
id- the resource id of the device (might be null or invalid)- Returns:
- the related device descriptor or null if the device is not known at all
-
getDeviceByManagedId
Returns a device descriptor of an available device.- Parameters:
id- the managed id of the device (might be null or invalid)- Returns:
- the related device descriptor or null if the device is not known at all
-