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.

Like all OsidReceivers, notifications are delivered to DeviceReceiver serially and a receiver method is not invoked again until any previous invocation has returned.

  • 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
  • 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.