Interface ModuleReceiver

All Superinterfaces:
OsidReceiver

public interface ModuleReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedModules(Id notificationId, IdList moduleIds)
    The callback for notifications of updated modules.
    void
    deletedModules(Id notificationId, IdList moduleIds)
    the callback for notification of deleted modules.
    void
    newModules(Id notificationId, IdList moduleIds)
    The callback for notifications of new modules.

    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

    • newModules

      void newModules(Id notificationId, IdList moduleIds)
      The callback for notifications of new modules.
      Parameters:
      notificationId - the notification Id
      moduleIds - the Ids of the new modules
      Compliance:
      mandatory - This method must be implemented.
    • changedModules

      void changedModules(Id notificationId, IdList moduleIds)
      The callback for notifications of updated modules.
      Parameters:
      notificationId - the notification Id
      moduleIds - the Ids of the updated modules
      Compliance:
      mandatory - This method must be implemented.
    • deletedModules

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