📄 subscriptionrepository.h
字号:
@param query Output query for the filter @param sourceNameSpace Output source namespace for the filter subscription @param queryLanguage Output query language in which the filter query is expressed */ void getFilterProperties ( const CIMInstance & subscription, String & query, CIMNamespaceName & sourceNameSpace, String & queryLanguage); /** Retrieves the values of the filter query and source namespace properties for the specified subscription instance. @param subscription Input subscription instance @param query Output query for the filter @param sourceNameSpace Output source namespace for the filter subscription */ void getFilterProperties ( const CIMInstance & subscription, String & query, CIMNamespaceName & sourceNameSpace); /** Retrieves the value of the filter query property for the specified subscription instance. @param subscription Input subscription instance @param query Output query for the filter */ void getFilterProperties ( const CIMInstance & subscription, String & query); /** Validates that the specified class is a subclass of the Indication class. @param indicationClassName the class name to be validated @param nameSpaceName the namespace @return String containing the indication class name */ Boolean validateIndicationClassName ( const CIMName & indicationClassName, const CIMNamespaceName & nameSpaceName) const; /** Retrieves the subclass names of the specified indication class. @param nameSpace the namespace @param indicationClassName the indication class name @return List of indication subclass names, including original class */ Array <CIMName> getIndicationSubclasses ( const CIMNamespaceName & nameSpace, const CIMName & indicationClassName) const; /** Implements the subscription's On Fatal Error Policy. This function is called when a fatal error has occurred in the indication provider or indication handler, and the subscription can no longer be served. If the subscription's policy is Disable, the Subscription State is set to Disabled. If the subscription's policy is Remove, the subscription instance is deleted. @param subscription the subscription instance @return True, if the subscription has been disabled or deleted; False otherwise */ Boolean reconcileFatalError ( const CIMInstance subscription); /** Retrieves the specified class object from the repository. @param nameSpaceName the namespace @param className the class name @param localOnly return only local elements @param includeQualifiers return qualifier elements @param includeClassOrigin return ClassOrigin attribute @param propertyList return specified properties @return CIMClass object for the specified class */ CIMClass getClass ( const CIMNamespaceName & nameSpaceName, const CIMName & className, Boolean localOnly = true, Boolean includeQualifiers = true, Boolean includeClassOrigin = false, const CIMPropertyList & propertyList = CIMPropertyList()) const; /** Retrieves the specified instance object from the repository. @param nameSpace the namespace @param instanceName the instance object path @param localOnly return only local elements @param includeQualifiers return qualifier elements @param includeClassOrigin return ClassOrigin attribute @param propertyList return specified properties @return CIMInstance object for the specified instance */ CIMInstance getInstance ( const CIMNamespaceName & nameSpace, const CIMObjectPath & instanceName, Boolean localOnly = true, Boolean includeQualifiers = false, Boolean includeClassOrigin = false, const CIMPropertyList & propertyList = CIMPropertyList ()); /** Modifies the specified instance in the repository. @param nameSpace the namespace @param modifiedInstance the modified instance object @param includeQualifiers return qualifier elements @param propertyList return specified properties */ void modifyInstance ( const CIMNamespaceName & nameSpace, const CIMInstance & modifiedInstance, Boolean includeQualifiers = true, const CIMPropertyList & propertyList = CIMPropertyList ()); /** Deletes the specified instance from the repository. @param nameSpace the namespace @param instanceName the instance object path */ void deleteInstance ( const CIMNamespaceName & nameSpace, const CIMObjectPath & instanceName); /** Enumerates instances of the specified class from the repository. @param nameSpace the namespace @param className the class name @param deepInheritance return inherited properties @param localOnly return only local elements @param includeQualifiers return qualifier elements @param includeClassOrigin return ClassOrigin attribute @param propertyList return specified properties @return Array of CIMInstance objects for the specified enumeration */ Array <CIMInstance> enumerateInstancesForClass ( const CIMNamespaceName & nameSpace, const CIMName & className, Boolean localOnly = true, Boolean includeQualifiers = false, Boolean includeClassOrigin = false, const CIMPropertyList & propertyList = CIMPropertyList ()); /** Enumerates instance names of the specified class from the repository. @param nameSpace the namespace @param className the class name @return Array of CIMObjectPath objects for the specified enumeration */ Array <CIMObjectPath> enumerateInstanceNamesForClass ( const CIMNamespaceName & nameSpace, const CIMName & className);private: /** Disables the subscription. This function is called when a fatal error has occurred in the indication provider or indication handler, the subscription can no longer be served, and the subscription's policy is Disable. The Subscription State is set to Disabled. @param subscription the subscription instance */ void _disableSubscription ( CIMInstance subscription); /** Deletes the subscription instance. This function is called when a fatal error has occurred in the indication provider or indication handler, the subscription can no longer be served, and the subscription's policy is Remove. The subscription instance is deleted. @param subscription the subscription instance */ void _deleteSubscription ( const CIMInstance subscription); CIMRepository * _repository;};PEGASUS_NAMESPACE_END#endif /* Pegasus_SubscriptionRepository_h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -