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.

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

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