Interface ResourceReceiver

All Superinterfaces:
OsidReceiver

public interface ResourceReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedResources(Id notificationId, IdList resourceIds)
    The callback for notification of updated resources.
    void
    deletedResources(Id notificationId, IdList resourceIds)
    the callback for notification of deleted resources.
    void
    newResources(Id notificationId, IdList resourceIds)
    The callback for notifications of new resources.

    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

    • newResources

      void newResources(Id notificationId, IdList resourceIds)
      The callback for notifications of new resources.
      Parameters:
      notificationId - the notification Id
      resourceIds - the Ids of the new Resources
      Compliance:
      mandatory - This method must be implemented.
    • changedResources

      void changedResources(Id notificationId, IdList resourceIds)
      The callback for notification of updated resources.
      Parameters:
      notificationId - the notification Id
      resourceIds - the Ids of the updated Resources
      Compliance:
      mandatory - This method must be implemented.
    • deletedResources

      void deletedResources(Id notificationId, IdList resourceIds)
      the callback for notification of deleted resources.
      Parameters:
      notificationId - the notification Id
      resourceIds - the Ids of the deleted Resources
      Compliance:
      mandatory - This method must be implemented.