version 1.30, 2002/08/19 18:04:15
|
version 1.31, 2002/09/13 21:40:42
|
|
|
{ | { |
CIMInstance provider; | CIMInstance provider; |
CIMInstance providerModule; | CIMInstance providerModule; |
Array <String> classList; |
Array <CIMName> classList; |
providerClassList() | providerClassList() |
{ | { |
} | } |
|
|
{ | { |
CIMInstance subscription; | CIMInstance subscription; |
CIMInstance provider; | CIMInstance provider; |
Array <String> classList; |
Array <CIMName> classList; |
}; | }; |
| |
/** | /** |
|
|
*/ | */ |
Boolean _canCreate ( | Boolean _canCreate ( |
CIMInstance & instance, | CIMInstance & instance, |
const String & nameSpace); |
const CIMNamespaceName & nameSpace); |
| |
/** | /** |
Validates the specified required property in the instance. | Validates the specified required property in the instance. |
|
|
*/ | */ |
void _checkRequiredProperty ( | void _checkRequiredProperty ( |
CIMInstance & instance, | CIMInstance & instance, |
const String & propertyName, |
const CIMName & propertyName, |
const String & message); | const String & message); |
| |
/** | /** |
|
|
*/ | */ |
void _checkPropertyWithOther ( | void _checkPropertyWithOther ( |
CIMInstance & instance, | CIMInstance & instance, |
const String & propertyName, |
const CIMName & propertyName, |
const String & otherPropertyName, |
const CIMName & otherPropertyName, |
const Uint16 defaultValue, | const Uint16 defaultValue, |
const Uint16 otherValue, | const Uint16 otherValue, |
const Array <Uint16> & validValues); | const Array <Uint16> & validValues); |
|
|
*/ | */ |
String _checkPropertyWithDefault ( | String _checkPropertyWithDefault ( |
CIMInstance & instance, | CIMInstance & instance, |
const String & propertyName, |
const CIMName & propertyName, |
const String & defaultValue); | const String & defaultValue); |
| |
/** | /** |
|
|
*/ | */ |
Boolean _canDelete ( | Boolean _canDelete ( |
const CIMObjectPath & instanceReference, | const CIMObjectPath & instanceReference, |
const String & nameSpace, |
const CIMNamespaceName & nameSpace, |
const String & currentUser); | const String & currentUser); |
| |
/** | /** |
|
|
@return list of CIMInstance subscriptions | @return list of CIMInstance subscriptions |
*/ | */ |
Array <CIMInstance> _getMatchingSubscriptions ( | Array <CIMInstance> _getMatchingSubscriptions ( |
const String & supportedClass, |
const CIMName & supportedClass, |
const Array <String> nameSpaces, |
const Array <CIMNamespaceName> nameSpaces, |
const CIMPropertyList & supportedProperties); | const CIMPropertyList & supportedProperties); |
| |
/** | /** |
|
|
subscriptions | subscriptions |
*/ | */ |
void _getModifiedSubscriptions ( | void _getModifiedSubscriptions ( |
const String & supportedClass, |
const CIMName & supportedClass, |
const Array <String> & newNameSpaces, |
const Array <CIMNamespaceName> & newNameSpaces, |
const Array <String> & oldNameSpaces, |
const Array <CIMNamespaceName> & oldNameSpaces, |
const CIMPropertyList & newProperties, | const CIMPropertyList & newProperties, |
const CIMPropertyList & oldProperties, | const CIMPropertyList & oldProperties, |
Array <CIMInstance> & newSubscriptions, | Array <CIMInstance> & newSubscriptions, |
|
|
| |
@return List of all namespace names | @return List of all namespace names |
*/ | */ |
Array <String> _getNameSpaceNames (void) const; |
Array <CIMNamespaceName> _getNameSpaceNames (void) const; |
| |
/** | /** |
Retrieves list of subscriptions in the specified namespace. | Retrieves list of subscriptions in the specified namespace. |
|
|
@return List of subscription named instances | @return List of subscription named instances |
*/ | */ |
Array <CIMInstance> _getSubscriptions ( | Array <CIMInstance> _getSubscriptions ( |
const String & nameSpaceName) const; |
const CIMNamespaceName & nameSpaceName) const; |
| |
/** | /** |
Determines if all of the required properties in the specified list | Determines if all of the required properties in the specified list |
|
|
*/ | */ |
void _getFilterProperties ( | void _getFilterProperties ( |
const CIMInstance & subscription, | const CIMInstance & subscription, |
const String & nameSpaceName, |
const CIMNamespaceName & nameSpaceName, |
String & query, | String & query, |
String & sourceNameSpace, |
CIMNamespaceName & sourceNameSpace, |
String & queryLanguage); | String & queryLanguage); |
| |
/** | /** |
|
|
*/ | */ |
void _getFilterProperties ( | void _getFilterProperties ( |
const CIMInstance & subscription, | const CIMInstance & subscription, |
const String & nameSpaceName, |
const CIMNamespaceName & nameSpaceName, |
String & query, | String & query, |
String & sourceNameSpace); |
CIMNamespaceName & sourceNameSpace); |
| |
/** | /** |
Retrieves the values of the filter query property | Retrieves the values of the filter query property |
|
|
*/ | */ |
void _getFilterProperties ( | void _getFilterProperties ( |
const CIMInstance & subscription, | const CIMInstance & subscription, |
const String & nameSpaceName, |
const CIMNamespaceName & nameSpaceName, |
String & query); | String & query); |
| |
/** | /** |
|
|
| |
@return String containing the indication class name | @return String containing the indication class name |
*/ | */ |
String _getIndicationClassName ( |
CIMName _getIndicationClassName ( |
const WQLSelectStatement & selectStatement, | const WQLSelectStatement & selectStatement, |
const String & nameSpaceName) const; |
const CIMNamespaceName & nameSpaceName) const; |
| |
/** | /** |
Enumerates the subclass names of the specified indication class. | Enumerates the subclass names of the specified indication class. |
|
|
| |
@return List of indication subclass names | @return List of indication subclass names |
*/ | */ |
Array <String> _getIndicationSubclasses ( |
Array <CIMName> _getIndicationSubclasses ( |
const String & nameSpace, |
const CIMNamespaceName & nameSpace, |
const String & indicationClassName) const; |
const CIMName & indicationClassName) const; |
| |
/** | /** |
Retrieves the list of indication providers that serve the specified | Retrieves the list of indication providers that serve the specified |
|
|
@return list of ProviderClassList structs | @return list of ProviderClassList structs |
*/ | */ |
Array <ProviderClassList> _getIndicationProviders ( | Array <ProviderClassList> _getIndicationProviders ( |
const String & nameSpace, |
const CIMNamespaceName & nameSpace, |
const String & indicationClassName, |
const CIMName & indicationClassName, |
const Array <String> & indicationSubclasses, |
const Array <CIMName> & indicationSubclasses, |
const CIMPropertyList & requiredPropertyList) const; | const CIMPropertyList & requiredPropertyList) const; |
| |
/** | /** |
|
|
*/ | */ |
CIMPropertyList _getPropertyList ( | CIMPropertyList _getPropertyList ( |
const WQLSelectStatement & selectStatement, | const WQLSelectStatement & selectStatement, |
const String & nameSpaceName, |
const CIMNamespaceName & nameSpaceName, |
const String & indicationClassName) const; |
const CIMName & indicationClassName) const; |
| |
/** | /** |
Checks if the property list includes all properties in the specified | Checks if the property list includes all properties in the specified |
|
|
*/ | */ |
CIMPropertyList _checkPropertyList ( | CIMPropertyList _checkPropertyList ( |
const Array <CIMName> & propertyList, | const Array <CIMName> & propertyList, |
const String & nameSpaceName, |
const CIMNamespaceName & nameSpaceName, |
const String & indicationClassName) const; |
const CIMName & indicationClassName) const; |
| |
/** | /** |
Extracts the condition (WHERE Clause) from the specified filter query | Extracts the condition (WHERE Clause) from the specified filter query |
|
|
False otherwise | False otherwise |
*/ | */ |
Boolean _isTransient ( | Boolean _isTransient ( |
const String & nameSpace, |
const CIMNamespaceName & nameSpace, |
const CIMObjectPath & handler) const; | const CIMObjectPath & handler) const; |
| |
/** | /** |
|
|
@param handler the handler reference | @param handler the handler reference |
*/ | */ |
void _deleteReferencingSubscriptions ( | void _deleteReferencingSubscriptions ( |
const String & nameSpace, |
const CIMNamespaceName & nameSpace, |
const String & referenceProperty, |
const CIMName & referenceProperty, |
const CIMObjectPath & handler); | const CIMObjectPath & handler); |
| |
/** | /** |
|
|
query is expressed | query is expressed |
*/ | */ |
void _getCreateParams ( | void _getCreateParams ( |
const String & nameSpaceName, |
const CIMNamespaceName & nameSpaceName, |
const CIMInstance & subscriptionInstance, | const CIMInstance & subscriptionInstance, |
Array <ProviderClassList> & indicationProviders, | Array <ProviderClassList> & indicationProviders, |
CIMPropertyList & propertyList, | CIMPropertyList & propertyList, |
String & sourceNameSpace, |
CIMNamespaceName & sourceNameSpace, |
String & condition, | String & condition, |
String & queryLanguage); | String & queryLanguage); |
| |
|
|
query is expressed | query is expressed |
*/ | */ |
void _getCreateParams ( | void _getCreateParams ( |
const String & nameSpaceName, |
const CIMNamespaceName & nameSpaceName, |
const CIMInstance & subscriptionInstance, | const CIMInstance & subscriptionInstance, |
CIMPropertyList & propertyList, | CIMPropertyList & propertyList, |
String & sourceNameSpace, |
CIMNamespaceName & sourceNameSpace, |
String & condition, | String & condition, |
String & queryLanguage); | String & queryLanguage); |
| |
|
|
@return List of providers with associated classes to Delete | @return List of providers with associated classes to Delete |
*/ | */ |
Array <ProviderClassList> _getDeleteParams ( | Array <ProviderClassList> _getDeleteParams ( |
const String & nameSpaceName, |
const CIMNamespaceName & nameSpaceName, |
const CIMInstance & subscriptionInstance); | const CIMInstance & subscriptionInstance); |
| |
| |
|
|
*/ | */ |
Boolean _sendCreateRequests ( | Boolean _sendCreateRequests ( |
const Array <ProviderClassList> & indicationProviders, | const Array <ProviderClassList> & indicationProviders, |
const String & nameSpace, |
const CIMNamespaceName & nameSpace, |
const CIMPropertyList & propertyList, | const CIMPropertyList & propertyList, |
const String & condition, | const String & condition, |
const String & queryLanguage, | const String & queryLanguage, |
|
|
*/ | */ |
void _sendModifyRequests ( | void _sendModifyRequests ( |
const Array <ProviderClassList> & indicationProviders, | const Array <ProviderClassList> & indicationProviders, |
const String & nameSpace, |
const CIMNamespaceName & nameSpace, |
const CIMPropertyList & propertyList, | const CIMPropertyList & propertyList, |
const String & condition, | const String & condition, |
const String & queryLanguage, | const String & queryLanguage, |
|
|
*/ | */ |
void _sendDeleteRequests ( | void _sendDeleteRequests ( |
const Array <ProviderClassList> & indicationProviders, | const Array <ProviderClassList> & indicationProviders, |
const String & nameSpace, |
const CIMNamespaceName & nameSpace, |
const CIMInstance & subscription, | const CIMInstance & subscription, |
const String & userName, | const String & userName, |
const String & authType = String::EMPTY); | const String & authType = String::EMPTY); |
|
|
void _insertEntry ( | void _insertEntry ( |
const CIMInstance & subscription, | const CIMInstance & subscription, |
const CIMInstance & provider, | const CIMInstance & provider, |
const Array <String> classList); |
const Array <CIMName> classList); |
| |
/** | /** |
Creates an alert instance of the specified class. | Creates an alert instance of the specified class. |
|
|
@return the created alert instance | @return the created alert instance |
*/ | */ |
CIMInstance _createAlertInstance ( | CIMInstance _createAlertInstance ( |
const String & alertClassName, |
const CIMName & alertClassName, |
const Array <CIMInstance> & subscriptions); | const Array <CIMInstance> & subscriptions); |
| |
| |
|
|
/** | /** |
The name of the CIMOM Shutdown alert indication class | The name of the CIMOM Shutdown alert indication class |
*/ | */ |
static const char _CLASS_CIMOM_SHUTDOWN_ALERT []; |
static const CIMName _CLASS_CIMOM_SHUTDOWN_ALERT; |
| |
/** | /** |
The name of the No Provider alert indication class | The name of the No Provider alert indication class |
*/ | */ |
static const char _CLASS_NO_PROVIDER_ALERT []; |
static const CIMName _CLASS_NO_PROVIDER_ALERT; |
| |
/** | /** |
The name of the CIMOM shutdown alert indication class | The name of the CIMOM shutdown alert indication class |
*/ | */ |
static const char _CLASS_PROVIDER_TERMINATED_ALERT []; |
static const CIMName _CLASS_PROVIDER_TERMINATED_ALERT; |
| |
| |
// | // |
|
|
The name of the Subscription State property for Indication Subscription | The name of the Subscription State property for Indication Subscription |
class | class |
*/ | */ |
static const char _PROPERTY_STATE []; |
static const CIMName _PROPERTY_STATE; |
| |
/** | /** |
The name of the Other Subscription State property for Indication | The name of the Other Subscription State property for Indication |
Subscription class | Subscription class |
*/ | */ |
static const char _PROPERTY_OTHERSTATE []; |
static const CIMName _PROPERTY_OTHERSTATE; |
| |
/** | /** |
The name of the repeat notification policy property for indication | The name of the repeat notification policy property for indication |
subscription class | subscription class |
*/ | */ |
static const char _PROPERTY_REPEATNOTIFICATIONPOLICY []; |
static const CIMName _PROPERTY_REPEATNOTIFICATIONPOLICY; |
| |
/** | /** |
The name of the other repeat notification policy property for | The name of the other repeat notification policy property for |
indication subscription class | indication subscription class |
*/ | */ |
static const char _PROPERTY_OTHERREPEATNOTIFICATIONPOLICY []; |
static const CIMName _PROPERTY_OTHERREPEATNOTIFICATIONPOLICY; |
| |
/** | /** |
The name of the repeat notification interval property for indication | The name of the repeat notification interval property for indication |
subscription class | subscription class |
*/ | */ |
static const char _PROPERTY_REPEATNOTIFICATIONINTERVAL []; |
static const CIMName _PROPERTY_REPEATNOTIFICATIONINTERVAL; |
| |
/** | /** |
The name of the repeat notification gap property for indication | The name of the repeat notification gap property for indication |
subscription class | subscription class |
*/ | */ |
static const char _PROPERTY_REPEATNOTIFICATIONGAP []; |
static const CIMName _PROPERTY_REPEATNOTIFICATIONGAP; |
| |
/** | /** |
The name of the repeat notification count property for indication | The name of the repeat notification count property for indication |
subscription class | subscription class |
*/ | */ |
static const char _PROPERTY_REPEATNOTIFICATIONCOUNT []; |
static const CIMName _PROPERTY_REPEATNOTIFICATIONCOUNT; |
| |
/** | /** |
The name of the On Fatal Error Policy property for Indication | The name of the On Fatal Error Policy property for Indication |
Subscription class | Subscription class |
*/ | */ |
static const char _PROPERTY_ONFATALERRORPOLICY []; |
static const CIMName _PROPERTY_ONFATALERRORPOLICY; |
| |
/** | /** |
The name of the Other On Fatal Error Policy property for Indication | The name of the Other On Fatal Error Policy property for Indication |
Subscription class | Subscription class |
*/ | */ |
static const char _PROPERTY_OTHERONFATALERRORPOLICY []; |
static const CIMName _PROPERTY_OTHERONFATALERRORPOLICY; |
| |
/** | /** |
The name of the Time Of Last State Change property for Indication | The name of the Time Of Last State Change property for Indication |
Subscription class | Subscription class |
*/ | */ |
static const char _PROPERTY_LASTCHANGE []; |
static const CIMName _PROPERTY_LASTCHANGE; |
| |
/** | /** |
The name of the Subscription Start Time property for Indication | The name of the Subscription Start Time property for Indication |
Subscription class | Subscription class |
*/ | */ |
static const char _PROPERTY_STARTTIME []; |
static const CIMName _PROPERTY_STARTTIME; |
| |
/** | /** |
The name of the Subscription Duration property for Indication | The name of the Subscription Duration property for Indication |
Subscription class | Subscription class |
*/ | */ |
static const char _PROPERTY_DURATION []; |
static const CIMName _PROPERTY_DURATION; |
| |
/** | /** |
The name of the Subscription Time Remaining property for Indication | The name of the Subscription Time Remaining property for Indication |
Subscription class | Subscription class |
*/ | */ |
static const char _PROPERTY_TIMEREMAINING []; |
static const CIMName _PROPERTY_TIMEREMAINING; |
| |
/** | /** |
The name of the filter reference property for indication subscription | The name of the filter reference property for indication subscription |
class | class |
*/ | */ |
static const char _PROPERTY_FILTER []; |
static const CIMName _PROPERTY_FILTER; |
| |
/** | /** |
The name of the handler reference property for indication subscription | The name of the handler reference property for indication subscription |
class | class |
*/ | */ |
static const char _PROPERTY_HANDLER []; |
static const CIMName _PROPERTY_HANDLER; |
| |
/** | /** |
The name of the query property for indication filter class | The name of the query property for indication filter class |
*/ | */ |
static const char _PROPERTY_QUERY []; |
static const CIMName _PROPERTY_QUERY; |
| |
/** | /** |
The name of the query language property for indication filter class | The name of the query language property for indication filter class |
*/ | */ |
static const char _PROPERTY_QUERYLANGUAGE []; |
static const CIMName _PROPERTY_QUERYLANGUAGE; |
| |
/** | /** |
The name of the Source Namespace property for indication filter class | The name of the Source Namespace property for indication filter class |
*/ | */ |
static const char _PROPERTY_SOURCENAMESPACE []; |
static const CIMName _PROPERTY_SOURCENAMESPACE; |
| |
/** | /** |
The name of the name property for indication filter and indication | The name of the name property for indication filter and indication |
handler classes | handler classes |
*/ | */ |
static const char _PROPERTY_NAME []; |
static const CIMName _PROPERTY_NAME; |
| |
/** | /** |
The name of the creation class name property for indication filter and | The name of the creation class name property for indication filter and |
indication handler classes | indication handler classes |
*/ | */ |
static const char _PROPERTY_CREATIONCLASSNAME []; |
static const CIMName _PROPERTY_CREATIONCLASSNAME; |
| |
/** | /** |
The name of the system name property for indication filter and | The name of the system name property for indication filter and |
indication handler classes | indication handler classes |
*/ | */ |
static const char _PROPERTY_SYSTEMNAME []; |
static const CIMName _PROPERTY_SYSTEMNAME; |
| |
/** | /** |
The name of the system creation class name property for indication | The name of the system creation class name property for indication |
filter and indication handler classes | filter and indication handler classes |
*/ | */ |
static const char _PROPERTY_SYSTEMCREATIONCLASSNAME []; |
static const CIMName _PROPERTY_SYSTEMCREATIONCLASSNAME; |
| |
/** | /** |
The name of the Persistence Type property for Indication Handler class | The name of the Persistence Type property for Indication Handler class |
*/ | */ |
static const char _PROPERTY_PERSISTENCETYPE []; |
static const CIMName _PROPERTY_PERSISTENCETYPE; |
| |
/** | /** |
The name of the Other Persistence Type property for Indication Handler | The name of the Other Persistence Type property for Indication Handler |
class | class |
*/ | */ |
static const char _PROPERTY_OTHERPERSISTENCETYPE []; |
static const CIMName _PROPERTY_OTHERPERSISTENCETYPE; |
| |
/** | /** |
The name of the Destination property for CIM XML Indication Handler | The name of the Destination property for CIM XML Indication Handler |
subclass | subclass |
*/ | */ |
static const char _PROPERTY_DESTINATION []; |
static const CIMName _PROPERTY_DESTINATION; |
| |
/** | /** |
The name of the Trap Destination property for SNMP Mapper Indication | The name of the Trap Destination property for SNMP Mapper Indication |
Handler subclass | Handler subclass |
*/ | */ |
static const char _PROPERTY_TRAPDESTINATION []; |
static const CIMName _PROPERTY_TRAPDESTINATION; |
| |
/** | /** |
The name of the SNMP Type property for SNMP Indication Handler class | The name of the SNMP Type property for SNMP Indication Handler class |
*/ | */ |
static const char _PROPERTY_SNMPTYPE []; |
static const CIMName _PROPERTY_SNMPTYPE; |
| |
/** | /** |
The name of the Alert Type property for Alert Indication class | The name of the Alert Type property for Alert Indication class |
*/ | */ |
static const char _PROPERTY_ALERTTYPE []; |
static const CIMName _PROPERTY_ALERTTYPE; |
| |
/** | /** |
The name of the Other Alert Type property for Alert Indication class | The name of the Other Alert Type property for Alert Indication class |
*/ | */ |
static const char _PROPERTY_OTHERALERTTYPE []; |
static const CIMName _PROPERTY_OTHERALERTTYPE; |
| |
/** | /** |
The name of the Perceived Severity property for Alert Indication class | The name of the Perceived Severity property for Alert Indication class |
*/ | */ |
static const char _PROPERTY_PERCEIVEDSEVERITY []; |
static const CIMName _PROPERTY_PERCEIVEDSEVERITY; |
| |
/** | /** |
The name of the Probable Cause property for Alert Indication class | The name of the Probable Cause property for Alert Indication class |
*/ | */ |
static const char _PROPERTY_PROBABLECAUSE []; |
static const CIMName _PROPERTY_PROBABLECAUSE; |
| |
/** | /** |
The name of the Provider Name property for Provider class | The name of the Provider Name property for Provider class |
*/ | */ |
static const char _PROPERTY_PROVIDERNAME []; |
static const CIMName _PROPERTY_PROVIDERNAME; |
| |
/** | /** |
The name of the Provider Module Name property for Provider class | The name of the Provider Module Name property for Provider class |
*/ | */ |
static const char _PROPERTY_PROVIDERMODULENAME []; |
static const CIMName _PROPERTY_PROVIDERMODULENAME; |
| |
| |
// | // |
|
|
/** | /** |
The name of the Indication qualifier for classes | The name of the Indication qualifier for classes |
*/ | */ |
static const char _QUALIFIER_INDICATION []; |
static const CIMName _QUALIFIER_INDICATION; |
| |
| |
// | // |