Class AbstractDeviceRegistry
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.registry.AbstractDeviceRegistry
- All Implemented Interfaces:
DeviceRegistry,DeviceRegistryOperations
- Direct Known Subclasses:
DeviceRegistryProxy
Partially implements
DeviceRegistry and thus forms
the AAS part of the DeviceRegistry.- Author:
- Dennis Pidun, University of Hildesheim
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRegister a specific device, which can be used for on-boarding.voidremoveDevice(String id) Removes a registered device, which can be used for off-boarding.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.deviceMgt.registry.DeviceRegistry
getDevice, getDeviceByManagedId, getDevices, getIds, getManagedIdsMethods inherited from interface de.iip_ecosphere.platform.deviceMgt.registry.DeviceRegistryOperations
imAlive, sendTelemetry
-
Constructor Details
-
AbstractDeviceRegistry
public AbstractDeviceRegistry()
-
-
Method Details
-
addDevice
Description copied from interface:DeviceRegistryOperationsRegister a specific device, which can be used for on-boarding.- Specified by:
addDevicein interfaceDeviceRegistryOperations- Parameters:
id- the id of the new deviceip- the ip of the new device- Returns:
- information about the results of the registration/on-boarding process
- Throws:
ExecutionException- if the operation fails
-
removeDevice
Description copied from interface:DeviceRegistryOperationsRemoves a registered device, which can be used for off-boarding.- Specified by:
removeDevicein interfaceDeviceRegistryOperations- Parameters:
id- the id of the new device- Throws:
ExecutionException- if the operation fails
-