Interface PublisherReceiver

All Superinterfaces:
OsidReceiver

public interface PublisherReceiver extends OsidReceiver

The publisher receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted Publisher objects.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChildOfPublishers(Id notificationId, IdList publisherIds)
    The callback for notifications of changes to children of publisher hierarchy nodes.
    void
    changedPublishers(Id notificationId, IdList publisherIds)
    The callback for notification of updated publishers.
    void
    deletedPublishers(Id notificationId, IdList publisherIds)
    the callback for notification of deleted publishers.
    void
    newPublishers(Id notificationId, IdList publisherIds)
    The callback for notifications of new publishers.

    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

    • newPublishers

      void newPublishers(Id notificationId, IdList publisherIds)
      The callback for notifications of new publishers.
      Parameters:
      notificationId - the notification Id
      publisherIds - the Ids of the new Publishers
      Compliance:
      mandatory - This method must be implemented.
    • changedPublishers

      void changedPublishers(Id notificationId, IdList publisherIds)
      The callback for notification of updated publishers.
      Parameters:
      notificationId - the notification Id
      publisherIds - the Ids of the updated Publishers
      Compliance:
      mandatory - This method must be implemented.
    • deletedPublishers

      void deletedPublishers(Id notificationId, IdList publisherIds)
      the callback for notification of deleted publishers.
      Parameters:
      notificationId - the notification Id
      publisherIds - the Ids of the registered Publishers
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfPublishers

      void changedChildOfPublishers(Id notificationId, IdList publisherIds)
      The callback for notifications of changes to children of publisher hierarchy nodes.
      Parameters:
      notificationId - the notification Id
      publisherIds - the Ids of the Publishers whose children have changed
      Compliance:
      mandatory - This method must be implemented.