version 1.70, 2005/03/15 23:19:36
|
version 1.71, 2005/04/08 20:58:48
|
|
|
to each provider in the list. The requests are sent using SendAsync, | to each provider in the list. The requests are sent using SendAsync, |
and the responses are aggregated in the callback methods. Create | and the responses are aggregated in the callback methods. Create |
Subscription requests are sent to the indication providers using | Subscription requests are sent to the indication providers using |
SendAsync in the following cases: (1) on initialization, for each |
SendAsync in the following cases: (1) on creation of an enabled |
enabled subscription retrieved from the repository, (2) on creation of |
subscription instance, and (2) on modification of a subscription |
an enabled subscription instance, and (3) on modification of a |
instance, when the state changes to enabled. In cases (1) and (2), |
subscription instance, when the state changes to enabled. In cases (2) |
there is an original Create Instance or Modify Instance request to |
and (3), there is an original Create Instance or Modify Instance |
which the Indication Service must respond. |
request to which the Indication Service must respond. In case (1), |
|
there is no original request and no response is required. |
|
| |
@param indicationProviders list of providers with associated classes | @param indicationProviders list of providers with associated classes |
@param nameSpace the nameSpace name of the resource being | @param nameSpace the nameSpace name of the resource being |
|
|
@param acceptLangs the language of the response, and | @param acceptLangs the language of the response, and |
future indications | future indications |
@param contentLangs the language of the subscription | @param contentLangs the language of the subscription |
@param origRequest the original request, if any (Create |
@param origRequest the original request (Create |
Instance, Modify Instance) | Instance, Modify Instance) |
@param indicationSubclasses the indication subclasses for the | @param indicationSubclasses the indication subclasses for the |
subscription | subscription |
|
|
so no callback methods are required. Create Subscription requests are | so no callback methods are required. Create Subscription requests are |
sent to the indication providers using SendWait in the following cases: | sent to the indication providers using SendWait in the following cases: |
(1) on notification of a provider registration change newly enabling | (1) on notification of a provider registration change newly enabling |
the provider to serve the subscription, and (2) on notification that a |
the provider to serve the subscription, (2) on notification that a |
provider has been enabled and may now serve the subscription. In both |
provider has been enabled and may now serve the subscription, and |
cases (1) and (2), there is an original Notify Provider Registration or |
(3) on initialization, for each enabled subscription retrieved from the |
Notify Provider Enable request to which the Indication Service must |
repository. In cases (1) and (2), there is an original Notify Provider |
respond. |
Registration or Notify Provider Enable request to which the Indication |
|
Service must respond. In case (3), there is no original request and no |
|
response is required. |
| |
@param indicationProviders list of providers with associated classes | @param indicationProviders list of providers with associated classes |
@param nameSpace the nameSpace name of the resource being | @param nameSpace the nameSpace name of the resource being |
|
|
@param userName the userName for authentication | @param userName the userName for authentication |
@param authType the authentication type | @param authType the authentication type |
| |
@return Number of providers that accepted subscription |
@return List of providers that accepted subscription |
*/ | */ |
Uint32 _sendWaitCreateRequests ( |
Array <ProviderClassList> _sendWaitCreateRequests ( |
const Array <ProviderClassList> & indicationProviders, | const Array <ProviderClassList> & indicationProviders, |
const CIMNamespaceName & nameSpace, | const CIMNamespaceName & nameSpace, |
const CIMPropertyList & propertyList, | const CIMPropertyList & propertyList, |