Interface AvailabilityReceiver

All Superinterfaces:
OsidReceiver

public interface AvailabilityReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedAvailabilities(Id notificationId, IdList availabilityIds)
    The callback for notification of updated availabilities.
    void
    deletedAvailabilities(Id notificationId, IdList availabilityIds)
    The callback for notification of deleted availabilities.
    void
    newAvailabilities(Id notificationId, IdList availabilityIds)
    The callback for notifications of new availabilities.

    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

    • newAvailabilities

      void newAvailabilities(Id notificationId, IdList availabilityIds)
      The callback for notifications of new availabilities.
      Parameters:
      notificationId - the notification Id
      availabilityIds - the Ids of the new Availabilities
      Compliance:
      mandatory - This method must be implemented.
    • changedAvailabilities

      void changedAvailabilities(Id notificationId, IdList availabilityIds)
      The callback for notification of updated availabilities.
      Parameters:
      notificationId - the notification Id
      availabilityIds - the Ids of the updated Availabilities
      Compliance:
      mandatory - This method must be implemented.
    • deletedAvailabilities

      void deletedAvailabilities(Id notificationId, IdList availabilityIds)
      The callback for notification of deleted availabilities.
      Parameters:
      notificationId - the notification Id
      availabilityIds - the Ids of the deleted Availabilities
      Compliance:
      mandatory - This method must be implemented.