Interface OfferingReceiver

All Superinterfaces:
OsidReceiver

public interface OfferingReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedOfferings(Id notificationId, IdList offeringIds)
    The callback for notifications of updated offerings.
    void
    deletedOfferings(Id notificationId, IdList offeringIds)
    the callback for notification of deleted offerings.
    void
    newOfferings(Id notificationId, IdList offeringIds)
    The callback for notifications of new offerings.

    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

    • newOfferings

      void newOfferings(Id notificationId, IdList offeringIds)
      The callback for notifications of new offerings.
      Parameters:
      notificationId - the notification Id
      offeringIds - the Ids of the new offerings
      Compliance:
      mandatory - This method must be implemented.
    • changedOfferings

      void changedOfferings(Id notificationId, IdList offeringIds)
      The callback for notifications of updated offerings.
      Parameters:
      notificationId - the notification Id
      offeringIds - the Ids of the updated offerings
      Compliance:
      mandatory - This method must be implemented.
    • deletedOfferings

      void deletedOfferings(Id notificationId, IdList offeringIds)
      the callback for notification of deleted offerings.
      Parameters:
      notificationId - the notification Id
      offeringIds - the Ids of the deleted offerings
      Compliance:
      mandatory - This method must be implemented.