Interface PackageReceiver

All Superinterfaces:
OsidReceiver

public interface PackageReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedPackages(Id notificationId, IdList packageIds)
    The callback for notification of updated packages.
    void
    deletedPackages(Id notificationId, IdList packageIds)
    The callback for notification of deleted packages.
    void
    newPackages(Id notificationId, IdList packageIds)
    The callback for notifications of new packages.

    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

    • newPackages

      void newPackages(Id notificationId, IdList packageIds)
      The callback for notifications of new packages.
      Parameters:
      notificationId - the notification Id
      packageIds - the Ids of the new Packages
      Compliance:
      mandatory - This method must be implemented.
    • changedPackages

      void changedPackages(Id notificationId, IdList packageIds)
      The callback for notification of updated packages.
      Parameters:
      notificationId - the notification Id
      packageIds - the Ids of the changed Packages
      Compliance:
      mandatory - This method must be implemented.
    • deletedPackages

      void deletedPackages(Id notificationId, IdList packageIds)
      The callback for notification of deleted packages.
      Parameters:
      notificationId - the notification Id
      packageIds - the Ids of the deleted Packages
      Compliance:
      mandatory - This method must be implemented.