Interface CreditReceiver

All Superinterfaces:
OsidReceiver

public interface CreditReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedCredits(Id notificationId, IdList creditIds)
    The callback for notifications of updated credits.
    void
    deletedCredits(Id notificationId, IdList creditIds)
    the callback for notification of deleted credits.
    void
    newCredits(Id notificationId, IdList creditIds)
    The callback for notifications of new credits.

    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

    • newCredits

      void newCredits(Id notificationId, IdList creditIds)
      The callback for notifications of new credits.
      Parameters:
      notificationId - the notification Id
      creditIds - the Ids of the new credits
      Compliance:
      mandatory - This method must be implemented.
    • changedCredits

      void changedCredits(Id notificationId, IdList creditIds)
      The callback for notifications of updated credits.
      Parameters:
      notificationId - the notification Id
      creditIds - the Ids of the updated credits
      Compliance:
      mandatory - This method must be implemented.
    • deletedCredits

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