Interface RuleReceiver

All Superinterfaces:
OsidReceiver

public interface RuleReceiver extends OsidReceiver

The rule receiver is the consumer supplied interface for receiving notifications pertaining to new or deleted rules.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedRules(Id notificationId, IdList ruleIds)
    the callback for notification of changed rules.
    void
    deletedRules(Id notificationId, IdList ruleIds)
    the callback for notification of deleted rules.
    void
    newRules(Id notificationId, IdList ruleIds)
    The callback for notifications of new rules.

    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

    • newRules

      void newRules(Id notificationId, IdList ruleIds)
      The callback for notifications of new rules.
      Parameters:
      notificationId - the notification Id
      ruleIds - the Ids of the new rules
      Compliance:
      mandatory - This method must be implemented.
    • changedRules

      void changedRules(Id notificationId, IdList ruleIds)
      the callback for notification of changed rules.
      Parameters:
      notificationId - the notification Id
      ruleIds - the Ids of the changed rules
      Compliance:
      mandatory - This method must be implemented.
    • deletedRules

      void deletedRules(Id notificationId, IdList ruleIds)
      the callback for notification of deleted rules.
      Parameters:
      notificationId - the notification Id
      ruleIds - the Ids of the deleted rules
      Compliance:
      mandatory - This method must be implemented.