Interface AllocationReceiver

All Superinterfaces:
OsidReceiver

public interface AllocationReceiver extends OsidReceiver

The allocation receiver is the consumer supplied interface for receiving notifications pertaining to usage warnings and changed quota assignments.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedAllocation(String directoryPath)
    The callback for notification of a new, removed or changed allocation on a directory.
    void
    changedUserAllocation(String directoryPath, String agentId)
    The callback for notification of a new, removed or changed quota assignment.
    void
    clearWarning(String directoryPath)
    The callback for notification of cleared usage warnings.
    void
    warning(String directoryPath)
    The callback for notifications of usage warnings.

    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

    • warning

      void warning(String directoryPath)
      The callback for notifications of usage warnings.
      Parameters:
      directoryPath - absolute pathname to the directory
      Compliance:
      mandatory - This method must be implemented.
    • clearWarning

      void clearWarning(String directoryPath)
      The callback for notification of cleared usage warnings.
      Parameters:
      directoryPath - absolute pathname to the directory
      Compliance:
      mandatory - This method must be implemented.
    • changedAllocation

      void changedAllocation(String directoryPath)
      The callback for notification of a new, removed or changed allocation on a directory.
      Parameters:
      directoryPath - absolute pathname to the directory
      Compliance:
      mandatory - This method must be implemented.
    • changedUserAllocation

      void changedUserAllocation(String directoryPath, String agentId)
      The callback for notification of a new, removed or changed quota assignment.
      Parameters:
      directoryPath - absolute pathname to the directory
      agentId - the user Id
      Compliance:
      mandatory - This method must be implemented.