| Interface | osid.provisioning.BrokerNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.provisioning.ProvisioningManager | ||
osid.provisioning.ProvisioningProxyManager | |||
| Description |
This session defines methods to receive notifications on
adds/changes to The two views defined in this session correspond to the
views in the | ||
| Method | getDistributorId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Distributor Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDistributor | ||
| Description |
Gets the | ||
| Return | osid.provisioning.Distributor | the distributor | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForBrokerNotifications | ||
| Description |
Tests if this user can register for | ||
| Return | boolean | false if notification methods are not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedDistributorView | ||
| Description |
Federates the view for methods in this session. A federated view will include brokers in distributors which are children of this distributor in the distributor hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedDistributorView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this distributor only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableBrokerNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableBrokerNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeBrokerNotification | ||
| Description |
Acknowledge a broker notification. | ||
| Parameters | osid.id.Id | notificationId | the Id of the notification |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewBrokers | ||
| Description |
Register for notifications of new brokers.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedBrokers | ||
| Description |
Registers for notification of updated brokers.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedBroker | ||
| Description |
Registers for notification of an updated broker.
| ||
| Parameters | osid.id.Id | brokerId | the Id of the Broker to monitor |
| Errors | NULL_ARGUMENT | brokerId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedBrokers | ||
| Description |
Registers for notification of deleted brokers.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedBroker | ||
| Description |
Registers for notification of a deleted broker.
| ||
| Parameters | osid.id.Id | brokerId | the Id of the Broker to monitor |
| Errors | NULL_ARGUMENT | brokerId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |