Interface BlockReceiver

All Superinterfaces:
OsidReceiver

public interface BlockReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedBlocks(Id notificationId, IdList blockIds)
    The callback for notification of updated blocks.
    void
    deletedBlocks(Id notificationId, IdList blockIds)
    The callback for notification of deleted blocks.
    void
    newBlocks(Id notificationId, IdList blockIds)
    The callback for notifications of new blocks.

    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

    • newBlocks

      void newBlocks(Id notificationId, IdList blockIds)
      The callback for notifications of new blocks.
      Parameters:
      notificationId - the notification Id
      blockIds - the Ids of the new Blocks
      Compliance:
      mandatory - This method must be implemented.
    • changedBlocks

      void changedBlocks(Id notificationId, IdList blockIds)
      The callback for notification of updated blocks.
      Parameters:
      notificationId - the notification Id
      blockIds - the Ids of the updated Blocks
      Compliance:
      mandatory - This method must be implemented.
    • deletedBlocks

      void deletedBlocks(Id notificationId, IdList blockIds)
      The callback for notification of deleted blocks.
      Parameters:
      notificationId - the notification Id
      blockIds - the Ids of the deleted Blocks
      Compliance:
      mandatory - This method must be implemented.