(file) Return to IndicationService.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / IndicationService

Diff for /pegasus/src/Pegasus/IndicationService/IndicationService.h between version 1.22 and 1.23

version 1.22, 2002/04/24 18:17:13 version 1.23, 2002/04/26 18:14:00
Line 188 
Line 188 
     /**     /**
         Notifies the Indication Service that a change in provider registration         Notifies the Indication Service that a change in provider registration
         has occurred.  The Indication Service retrieves the subscriptions         has occurred.  The Indication Service retrieves the subscriptions
         affected by the registration change, sends the appropriate enable,          affected by the registration change, sends the appropriate Create,
         modify, and/or disable requests to the provider, and sends an alert to          Modify, and/or Delete requests to the provider, and sends an alert to
         handler instances of subscriptions that are no longer served by the         handler instances of subscriptions that are no longer served by the
         provider.         provider.
     */     */
Line 247 
Line 247 
         const CIMNamedInstance subscription);         const CIMNamedInstance subscription);
  
     /**     /**
         Ensures that all subscription classes in the repository include the  
         Creator property.  
   
         @throw   CIMException               if any error except  
                                             CIM_ERR_INVALID_CLASS occurs  
      */  
     void _checkClasses (void);  
   
     /**  
         Determines if it is legal to create an instance.         Determines if it is legal to create an instance.
         Checks for existence of all key and required properties.  Checks that         Checks for existence of all key and required properties.  Checks that
         properties that MUST NOT exist (based on values of other properties),         properties that MUST NOT exist (based on values of other properties),
Line 755 
Line 746 
         CIMInstance & instance);         CIMInstance & instance);
  
     /**     /**
         Gets the parameter values required to create or modify the subscription          Gets the parameter values required to Create or Modify the subscription
         request.         request.
         If no indication providers are found, condition and queryLanguage are         If no indication providers are found, condition and queryLanguage are
         set to empty string.         set to empty string.
Line 771 
Line 762 
         @param   queryLanguage         Output query language in which the filter         @param   queryLanguage         Output query language in which the filter
                                            query is expressed                                            query is expressed
      */      */
     void _getEnableParams (      void _getCreateParams (
         const String & nameSpaceName,         const String & nameSpaceName,
         const CIMInstance & subscriptionInstance,         const CIMInstance & subscriptionInstance,
         Array <ProviderClassList> & indicationProviders,         Array <ProviderClassList> & indicationProviders,
Line 781 
Line 772 
         String & queryLanguage);         String & queryLanguage);
  
     /**     /**
         Gets the parameter values required to create or modify the subscription          Gets the parameter values required to Create or Modify the subscription
         request.         request.
  
         @param   nameSpace             Input namespace name (of subscription)         @param   nameSpace             Input namespace name (of subscription)
Line 793 
Line 784 
         @param   queryLanguage         Output query language in which the filter         @param   queryLanguage         Output query language in which the filter
                                            query is expressed                                            query is expressed
      */      */
     void _getEnableParams (      void _getCreateParams (
         const String & nameSpaceName,         const String & nameSpaceName,
         const CIMInstance & subscriptionInstance,         const CIMInstance & subscriptionInstance,
         CIMPropertyList & propertyList,         CIMPropertyList & propertyList,
Line 802 
Line 793 
         String & queryLanguage);         String & queryLanguage);
  
     /**     /**
         Gets the parameter values required to disable the subscription request.          Gets the parameter values required to Delete the subscription request.
  
         @param   nameSpace             Input namespace name         @param   nameSpace             Input namespace name
         @param   subscription          Input subscription instance         @param   subscription          Input subscription instance
  
         @return  List of providers with associated classes to disable          @return  List of providers with associated classes to Delete
      */      */
     Array <ProviderClassList> _getDisableParams (      Array <ProviderClassList> _getDeleteParams (
         const String & nameSpaceName,         const String & nameSpaceName,
         const CIMInstance & subscriptionInstance);         const CIMInstance & subscriptionInstance);
  
  
       /**       /**
          Asynchronous completion routine for _sendEnableRequests.           Asynchronous completion routine for _sendCreateRequests.
  
          @param  operation            shared data structure that controls msg processing           @param  operation            shared data structure that controls msg
                                         processing
          @param  destination          target queue of completion callback          @param  destination          target queue of completion callback
          @param  parm                 user parameter for callback processing          @param  parm                 user parameter for callback processing
       */       */
  
       static void _sendEnableRequestsCallBack(AsyncOpNode *operation,        static void _sendCreateRequestsCallBack(AsyncOpNode *operation,
                                               MessageQueue *destination,                                               MessageQueue *destination,
                                               void *parm);                                               void *parm);
  
  
     /**     /**
         Sends enable subscription request for the specified subscription          Sends Create subscription request for the specified subscription
         to each provider in the list.         to each provider in the list.
  
         @param   indicationProviders   list of providers with associated classes         @param   indicationProviders   list of providers with associated classes
Line 838 
Line 830 
         @param   condition             the condition part of the filter query         @param   condition             the condition part of the filter query
         @param   queryLanguage         the query language in which the filter         @param   queryLanguage         the query language in which the filter
                                            query is expressed                                            query is expressed
         @param   subscription          the subscription to be enabled          @param   subscription          the subscription to be created
         @param   userName              the userName for authentication         @param   userName              the userName for authentication
         @param   authType              the authentication type         @param   authType              the authentication type
  
         @return  True if at least one provider accepted the subscription         @return  True if at least one provider accepted the subscription
                  False otherwise                  False otherwise
      */      */
     Boolean _sendEnableRequests (      Boolean _sendCreateRequests (
         const Array <ProviderClassList> & indicationProviders,         const Array <ProviderClassList> & indicationProviders,
         const String & nameSpace,         const String & nameSpace,
         const CIMPropertyList & propertyList,         const CIMPropertyList & propertyList,
Line 867 
Line 859 
  
  
     /**     /**
         Sends modify subscription request for the specified subscription          Sends Modify subscription request for the specified subscription
         to each provider in the list.         to each provider in the list.
  
         @param   indicationProviders   list of providers with associated classes         @param   indicationProviders   list of providers with associated classes
Line 893 
Line 885 
  
  
       /**       /**
           Asynchronous completion routine for _sendDisableRequests.            Asynchronous completion routine for _sendDeleteRequests.
       */       */
  
       static void _sendDisableRequestsCallBack(AsyncOpNode *operation,        static void _sendDeleteRequestsCallBack (
             AsyncOpNode *operation,
                                                MessageQueue *callback_destination,                                                MessageQueue *callback_destination,
                                                void *parameter);                                                void *parameter);
  
     /**     /**
         Sends disable subscription request for the specified subscription          Sends Delete subscription request for the specified subscription
         to each provider in the list.         to each provider in the list.
  
         @param   indicationProviders   list of providers with associated classes         @param   indicationProviders   list of providers with associated classes
Line 910 
Line 903 
         @param   userName              the userName for authentication         @param   userName              the userName for authentication
         @param   authType              the authentication type         @param   authType              the authentication type
      */      */
     void _sendDisableRequests (      void _sendDeleteRequests (
         const Array <ProviderClassList> & indicationProviders,         const Array <ProviderClassList> & indicationProviders,
         const String & nameSpace,         const String & nameSpace,
         const CIMNamedInstance & subscription,         const CIMNamedInstance & subscription,
Line 979 
Line 972 
         /* const */ CIMInstance & alertInstance);         /* const */ CIMInstance & alertInstance);
  
  
       /** Async completion routine for _sendStart */        /** Async completion routine for _sendEnable */
  
       static void _sendStartCallBack(AsyncOpNode *operation,        static void _sendEnableCallBack(AsyncOpNode *operation,
                                      MessageQueue *callback_destination,                                      MessageQueue *callback_destination,
                                      void *parameter);                                      void *parameter);
  
  
     /**     /**
         Sends a start message to the specified provider.          Sends an Enable message to the specified provider.
  
         @param   startProvider         the provider to be started          @param   enableProvider        the provider to be enabled
      */      */
     void _sendStart (      void _sendEnable (
         const ProviderClassList & startProvider);          const ProviderClassList & enableProvider);
  
     WQLSimplePropertySource _getPropertySourceFromInstance(     WQLSimplePropertySource _getPropertySourceFromInstance(
         CIMInstance & indicationInstance);         CIMInstance & indicationInstance);
Line 1291 
Line 1284 
      */      */
     static const char   _PROPERTY_PROVIDERMODULENAME [];     static const char   _PROPERTY_PROVIDERMODULENAME [];
  
     /**  
         The name of the Creator property for a class  
      */  
     static const char   _PROPERTY_CREATOR [];  
   
  
     //     //
     //  Qualifier names     //  Qualifier names
Line 1350 
Line 1338 
     static const char _MSG_INVALID_VALUE [];     static const char _MSG_INVALID_VALUE [];
  
     static const char _MSG_FOR_PROPERTY [];     static const char _MSG_FOR_PROPERTY [];
   
       static const char _MSG_CLASS_NOT_SERVED [];
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2