version 1.102, 2012/03/30 08:02:11
|
version 1.103, 2012/06/20 11:25:45
|
|
|
@param otherPropertyName name of Other___ property to be validated | @param otherPropertyName name of Other___ property to be validated |
@param defaultValue default value for property | @param defaultValue default value for property |
@param otherValue "Other" value for property | @param otherValue "Other" value for property |
@param validValues set of valid values for property |
|
@param supportedValues set of supported values for property | @param supportedValues set of supported values for property |
| |
@exception CIM_ERR_INVALID_PARAMETER if value of property or Other___ | @exception CIM_ERR_INVALID_PARAMETER if value of property or Other___ |
|
|
const CIMName& otherPropertyName, | const CIMName& otherPropertyName, |
const Uint16 defaultValue, | const Uint16 defaultValue, |
const Uint16 otherValue, | const Uint16 otherValue, |
const Array<Uint16>& validValues, |
|
const Array<Uint16>& supportedValues); | const Array<Uint16>& supportedValues); |
| |
/** | /** |
|
|
const Boolean isArray = false); | const Boolean isArray = false); |
| |
/** | /** |
Validates that all properties in the instance are supported properties, |
|
and throws an exception if an unknown, unsupported property is found. |
|
|
|
@param instance instance to be validated |
|
|
|
@exception CIM_ERR_NOT_SUPPORTED if instance includes an unknown, |
|
unsupported property |
|
*/ |
|
void _checkSupportedProperties( |
|
const CIMInstance& instance); |
|
|
|
/** |
|
Validates value of the specified Uint16 property in the instance. | Validates value of the specified Uint16 property in the instance. |
If the value of the property is not a valid value, or is not a | If the value of the property is not a valid value, or is not a |
supported value, an exception is thrown. | supported value, an exception is thrown. |
| |
@param instance instance to be validated | @param instance instance to be validated |
@param propertyName name of property to be validated | @param propertyName name of property to be validated |
@param validValues set of valid values for property |
|
@param supportedValues set of supported values for property | @param supportedValues set of supported values for property |
| |
@exception CIM_ERR_NOT_SUPPORTED if the property value is not | @exception CIM_ERR_NOT_SUPPORTED if the property value is not |
|
|
void _checkValue( | void _checkValue( |
const CIMInstance& instance, | const CIMInstance& instance, |
const CIMName& propertyName, | const CIMName& propertyName, |
const Array<Uint16>& validValues, |
|
const Array<Uint16>& supportedValues); | const Array<Uint16>& supportedValues); |
| |
/** | /** |
|
|
String& creator) const; | String& creator) const; |
| |
/** | /** |
Validates the specified SubscriptionState property value. |
|
|
|
@param state SubscriptionState property value |
|
|
|
@return True, if the SubscriptionState property value is valid; |
|
False otherwise |
|
*/ |
|
Boolean _validateState( |
|
const Uint16 state) const; |
|
|
|
/** |
|
This function peforms an authorization test based on the | This function peforms an authorization test based on the |
value of the enableSubscriptionForNonprivilegedUsers. | value of the enableSubscriptionForNonprivilegedUsers. |
| |
|
|
Arrays of valid and supported property values | Arrays of valid and supported property values |
| |
Notes: | Notes: |
Valid values are defined by the CIM Event Schema MOF |
|
Supported values are a subset of the valid values |
|
Some valid values, as defined in the MOF, are not currently supported |
|
by the Pegasus IndicationService |
|
| |
Supported Values | Supported Values |
SubscriptionState: Enabled, Disabled | SubscriptionState: Enabled, Disabled |
|
|
PersistenceType: Permanent, Transient | PersistenceType: Permanent, Transient |
SNMPVersion: SNMPv1 Trap, SNMPv2C Trap | SNMPVersion: SNMPv1 Trap, SNMPv2C Trap |
*/ | */ |
Array<Uint16> _validStates; |
|
Array<Uint16> _validRepeatPolicies; |
|
Array<Uint16> _validErrorPolicies; |
|
Array<Uint16> _validPersistenceTypes; |
|
Array<Uint16> _validSNMPVersion; |
|
Array<Uint16> _supportedStates; | Array<Uint16> _supportedStates; |
Array<Uint16> _supportedRepeatPolicies; | Array<Uint16> _supportedRepeatPolicies; |
Array<Uint16> _supportedErrorPolicies; | Array<Uint16> _supportedErrorPolicies; |
Array<Uint16> _supportedPersistenceTypes; | Array<Uint16> _supportedPersistenceTypes; |
Array<Uint16> _supportedSNMPVersion; | Array<Uint16> _supportedSNMPVersion; |
| |
/** |
|
Arrays of names of supported properties for each class |
|
*/ |
|
Array<CIMName> _supportedSubscriptionProperties; |
|
Array<CIMName> _supportedFormattedSubscriptionProperties; |
|
Array<CIMName> _supportedFilterProperties; |
|
Array<CIMName> _supportedCIMXMLHandlerProperties; |
|
Array<CIMName> _supportedCIMXMLListenerDestinationProperties; |
|
Array<CIMName> _supportedSNMPHandlerProperties; |
|
Array<CIMName> _supportedSyslogListenerDestinationProperties; |
|
Array<CIMName> _supportedEmailListenerDestinationProperties; |
|
ControlProvIndRegTable _controlProvIndRegTable; | ControlProvIndRegTable _controlProvIndRegTable; |
}; | }; |
| |