Interface LeaseReceiver

All Superinterfaces:
OsidReceiver

public interface LeaseReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedLeases(Id notificationId, IdList leaseIds)
    The callback for notification of updated leases.
    void
    deletedLeases(Id notificationId, IdList leaseIds)
    the callback for notification of deleted leases.
    void
    newLeases(Id notificationId, IdList leaseIds)
    The callback for notifications of new leases.

    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

    • newLeases

      void newLeases(Id notificationId, IdList leaseIds)
      The callback for notifications of new leases.
      Parameters:
      notificationId - the notification Id
      leaseIds - the Ids of the new Leases
      Compliance:
      mandatory - This method must be implemented.
    • changedLeases

      void changedLeases(Id notificationId, IdList leaseIds)
      The callback for notification of updated leases.
      Parameters:
      notificationId - the notification Id
      leaseIds - the Ids of the updated Leases
      Compliance:
      mandatory - This method must be implemented.
    • deletedLeases

      void deletedLeases(Id notificationId, IdList leaseIds)
      the callback for notification of deleted leases.
      Parameters:
      notificationId - the notification Id
      leaseIds - the Ids of the registered Leases
      Compliance:
      mandatory - This method must be implemented.