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.

Like all OsidReceivers, notifications are delivered to LeaseReceiver serially and a receiver method is not invoked again until any previous invocation has returned.

  • 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
  • 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.