Interface SubscriptionReceiver

All Superinterfaces:
OsidReceiver

public interface SubscriptionReceiver extends OsidReceiver

The subscription receiver is the consumer supplied interface for receiving notifications pertaining to new or deleted subscriptions.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedSubscriptions(Id notificationId, IdList susbcriptionIds)
    The callback for notifications of updated subscriptions.
    void
    deletedSubscriptions(Id notificationId, IdList susbcriptionIds)
    the callback for notification of deleted subscriptions.
    void
    newSubscriptions(Id notificationId, IdList susbcriptionIds)
    The callback for notifications of new subscriptions.

    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

    • newSubscriptions

      void newSubscriptions(Id notificationId, IdList susbcriptionIds)
      The callback for notifications of new subscriptions.
      Parameters:
      notificationId - the notification Id
      susbcriptionIds - the Ids of the new Subscriptions
      Compliance:
      mandatory - This method must be implemented.
    • changedSubscriptions

      void changedSubscriptions(Id notificationId, IdList susbcriptionIds)
      The callback for notifications of updated subscriptions.
      Parameters:
      notificationId - the notification Id
      susbcriptionIds - the Ids of the new Subscriptions
      Compliance:
      mandatory - This method must be implemented.
    • deletedSubscriptions

      void deletedSubscriptions(Id notificationId, IdList susbcriptionIds)
      the callback for notification of deleted subscriptions.
      Parameters:
      notificationId - the notification Id
      susbcriptionIds - the Ids of the new Subscriptions
      Compliance:
      mandatory - This method must be implemented.