Interface ChainReceiver

All Superinterfaces:
OsidReceiver

public interface ChainReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChains(Id notificationId, IdList chainIds)
    The callback for notification of updated chains.
    void
    deletedChains(Id notificationId, IdList chainIds)
    The callback for notification of deleted chains.
    void
    newChains(Id notificationId, IdList chainIds)
    The callback for notifications of new chains.

    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

    • newChains

      void newChains(Id notificationId, IdList chainIds)
      The callback for notifications of new chains.
      Parameters:
      notificationId - the notification Id
      chainIds - the Ids of the new Chains
      Compliance:
      mandatory - This method must be implemented.
    • changedChains

      void changedChains(Id notificationId, IdList chainIds)
      The callback for notification of updated chains.
      Parameters:
      notificationId - the notification Id
      chainIds - the Ids of the updated Chains
      Compliance:
      mandatory - This method must be implemented.
    • deletedChains

      void deletedChains(Id notificationId, IdList chainIds)
      The callback for notification of deleted chains.
      Parameters:
      notificationId - the notification Id
      chainIds - the Ids of the deleted Chains
      Compliance:
      mandatory - This method must be implemented.