Interface EventReceiver

All Superinterfaces:
OsidReceiver

public interface EventReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedEvents(Id notificationId, IdList eventIds)
    The callback for notification of updated events.
    void
    deletedEvents(Id notificationId, IdList eventIds)
    The callback for notification of deleted events.
    void
    newEvents(Id notificationId, IdList eventIds)
    The callback for notifications of new events.

    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

    • newEvents

      void newEvents(Id notificationId, IdList eventIds)
      The callback for notifications of new events.
      Parameters:
      notificationId - the notification Id
      eventIds - the Ids of the new Events
      Compliance:
      mandatory - This method must be implemented.
    • changedEvents

      void changedEvents(Id notificationId, IdList eventIds)
      The callback for notification of updated events.
      Parameters:
      notificationId - the notification Id
      eventIds - the Ids of the updated Events
      Compliance:
      mandatory - This method must be implemented.
    • deletedEvents

      void deletedEvents(Id notificationId, IdList eventIds)
      The callback for notification of deleted events.
      Parameters:
      notificationId - the notification Id
      eventIds - the Ids of the deleted Events
      Compliance:
      mandatory - This method must be implemented.