Interface ProgramReceiver

All Superinterfaces:
OsidReceiver

public interface ProgramReceiver extends OsidReceiver

The program receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted Programs .

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedPrograms(Id notificationId, IdList programIds)
    The callback for notification of updated programs.
    void
    deletedPrograms(Id notificationId, IdList programIds)
    the callback for notification of deleted programs.
    void
    newPrograms(Id notificationId, IdList programIds)
    The callback for notifications of new programs.

    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

    • newPrograms

      void newPrograms(Id notificationId, IdList programIds)
      The callback for notifications of new programs.
      Parameters:
      notificationId - the notification Id
      programIds - the Ids of the new Programs
      Compliance:
      mandatory - This method must be implemented.
    • changedPrograms

      void changedPrograms(Id notificationId, IdList programIds)
      The callback for notification of updated programs.
      Parameters:
      notificationId - the notification Id
      programIds - the Ids of the updated Programs
      Compliance:
      mandatory - This method must be implemented.
    • deletedPrograms

      void deletedPrograms(Id notificationId, IdList programIds)
      the callback for notification of deleted programs.
      Parameters:
      notificationId - the notification Id
      programIds - the Ids of the deleted Programs
      Compliance:
      mandatory - This method must be implemented.