Interface ResultReceiver

All Superinterfaces:
OsidReceiver

public interface ResultReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedResults(Id notificationId, IdList resultIds)
    The callback for notifications of updated results.
    void
    deletedResults(Id notificationId, IdList resultIds)
    the callback for notification of deleted results.
    void
    newResults(Id notificationId, IdList resultIds)
    The callback for notifications of new results.

    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

    • newResults

      void newResults(Id notificationId, IdList resultIds)
      The callback for notifications of new results.
      Parameters:
      notificationId - the notification Id
      resultIds - the Ids of the new results
      Compliance:
      mandatory - This method must be implemented.
    • changedResults

      void changedResults(Id notificationId, IdList resultIds)
      The callback for notifications of updated results.
      Parameters:
      notificationId - the notification Id
      resultIds - the Ids of the updated results
      Compliance:
      mandatory - This method must be implemented.
    • deletedResults

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