Interface DeviceReceiver

All Superinterfaces:
OsidReceiver

public interface DeviceReceiver extends OsidReceiver

The device receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted Device objects.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedDevices(Id notificationId, IdList deviceIds)
    The callback for notification of updated devices.
    void
    deletedDevices(Id notificationId, IdList deviceIds)
    The callback for notification of deleted devices.
    void
    newDevices(Id notificationId, IdList deviceIds)
    The callback for notifications of new devices.

    Methods inherited from interface OsidReceiver

    down, up
    Modifier and Type
    Method
    Description
    void
    The callback for notifications that the notification bus is not operating.
    void
    up()
    The callback for notifications that the notification bus is operational.
  • Method Details

    • newDevices

      void newDevices(Id notificationId, IdList deviceIds)
      The callback for notifications of new devices.
      Parameters:
      notificationId - the notification Id
      deviceIds - the Ids of the new Devices
      Compliance:
      mandatory - This method must be implemented.
    • changedDevices

      void changedDevices(Id notificationId, IdList deviceIds)
      The callback for notification of updated devices.
      Parameters:
      notificationId - the notification Id
      deviceIds - the Ids of the updated Devices
      Compliance:
      mandatory - This method must be implemented.
    • deletedDevices

      void deletedDevices(Id notificationId, IdList deviceIds)
      The callback for notification of deleted devices.
      Parameters:
      notificationId - the notification Id
      deviceIds - the Ids of the deleted Devices
      Compliance:
      mandatory - This method must be implemented.