Interface DeviceRegistry

All Superinterfaces:
DeviceRegistryOperations
All Known Implementing Classes:
AbstractDeviceRegistry, DeviceRegistryProxy

public interface DeviceRegistry extends DeviceRegistryOperations
A place to interact with and locate registered devices.
Author:
Dennis Pidun, University of Hildesheim
  • Method Details

    • getIds

      Set<String> getIds()
      Returns the ids of all registered devices.
      Returns:
      the ids
    • getManagedIds

      Set<String> 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

      DeviceDescriptor getDevice(String id)
      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

      DeviceDescriptor getDeviceByManagedId(String id)
      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