version 1.6, 2002/03/13 00:10:41
|
version 1.7, 2002/03/15 18:32:55
|
|
|
Array <String> classList; | Array <String> classList; |
}; | }; |
| |
struct SubscriptionRef |
|
{ |
|
CIMInstance subscription; |
|
String nameSpaceName; |
|
}; |
|
|
|
struct HandlerRef |
|
{ |
|
CIMInstance handler; |
|
String nameSpaceName; |
|
}; |
|
| |
/** | /** |
| |
|
|
/** | /** |
Retrieves list of enabled subscription instances in all namespaces. | Retrieves list of enabled subscription instances in all namespaces. |
| |
@return list of SubscriptionRef structs |
@return list of CIMNamedInstance subscriptions |
*/ | */ |
Array <struct SubscriptionRef> _getActiveSubscriptions () const; |
Array <CIMNamedInstance> _getActiveSubscriptions () const; |
| |
/** | /** |
Retrieves list of enabled subscription instances in all namespaces, | Retrieves list of enabled subscription instances in all namespaces, |
|
|
@param targetClass the target class | @param targetClass the target class |
@param targetProperties the list of target properties | @param targetProperties the list of target properties |
| |
@return list of SubscriptionRef structs |
@return list of CIMNamedInstance subscriptions |
*/ | */ |
Array <struct SubscriptionRef> _getMatchingSubscriptions ( |
Array <CIMNamedInstance> _getMatchingSubscriptions ( |
const String & targetClass, | const String & targetClass, |
const CIMPropertyList & targetProperties) const; | const CIMPropertyList & targetProperties) const; |
| |
|
|
const String & targetClass, | const String & targetClass, |
const CIMPropertyList & newProperties, | const CIMPropertyList & newProperties, |
const CIMPropertyList & oldProperties, | const CIMPropertyList & oldProperties, |
Array <struct SubscriptionRef> & newSubscriptions, |
Array <CIMNamedInstance> & newSubscriptions, |
Array <struct SubscriptionRef> & formerSubscriptions); |
Array <CIMNamedInstance> & formerSubscriptions); |
| |
/** | /** |
Retrieves list of enabled subscription instances in all namespaces, | Retrieves list of enabled subscription instances in all namespaces, |
|
|
| |
@param providerName the provider name | @param providerName the provider name |
| |
@return list of SubscriptionRef structs |
@return list of CIMNamedInstance subscriptions |
*/ | */ |
Array <struct SubscriptionRef> _getProviderSubscriptions ( |
Array <CIMNamedInstance> _getProviderSubscriptions ( |
const CIMReference & providerReference); | const CIMReference & providerReference); |
| |
/** | /** |
|
|
const String & filterQuery) const; | const String & filterQuery) const; |
| |
/** | /** |
Retrieves the HandlerRef struct representing the handler of the |
Retrieves the Handler CIMNamedInstance representing the handler of the |
specified subscription. | specified subscription. |
| |
@param subscriptionRef the subscription |
@param subscription the subscription |
| |
@return a HandlerRef struct for the subscription's handler |
@return a Handler CIMNamedInstance for the subscription's handler |
*/ | */ |
struct HandlerRef _getHandlerRef ( |
CIMNamedInstance _getHandler ( |
const struct SubscriptionRef& subscriptionRef) const; |
const CIMNamedInstance & subscription) const; |
| |
/** | /** |
Determines if specified handler is Transient. | Determines if specified handler is Transient. |
|
|
Creates an alert instance of the specified class. | Creates an alert instance of the specified class. |
| |
@param alertClassName the alert class name | @param alertClassName the alert class name |
@param subscriptionRefs subscriptions for which alert is to be |
@param subscriptions subscriptions for which alert is to be |
created | created |
| |
@return the created alert instance | @return the created alert instance |
*/ | */ |
CIMInstance _createAlertInstance ( | CIMInstance _createAlertInstance ( |
const String & alertClassName, | const String & alertClassName, |
const Array <struct SubscriptionRef> & subscriptionRefs); |
const Array <CIMNamedInstance> & subscriptions); |
| |
/** | /** |
Sends specified alert to each unique handler instance for the | Sends specified alert to each unique handler instance for the |
specified subscriptions in the list. | specified subscriptions in the list. |
| |
@param subscriptionRefs subscriptions for which alert is to be |
@param subscriptions subscriptions for which alert is to be |
sent | sent |
@param alertInstance the alert to be sent | @param alertInstance the alert to be sent |
*/ | */ |
void _sendAlerts ( | void _sendAlerts ( |
const Array <struct SubscriptionRef> & subscriptionRefs, |
const Array <CIMNamedInstance> & subscriptions, |
/* const */ CIMInstance & alertInstance); | /* const */ CIMInstance & alertInstance); |
| |
WQLSimplePropertySource _getPropertySourceFromInstance( | WQLSimplePropertySource _getPropertySourceFromInstance( |
|
|
static const char _PROPERTY_OTHERPERSISTENCETYPE []; | static const char _PROPERTY_OTHERPERSISTENCETYPE []; |
| |
/** | /** |
The name of the Destination property for Indication Handler subclasses |
The name of the Destination property for CIM XML Indication Handler |
|
subclass |
*/ | */ |
static const char _PROPERTY_DESTINATION []; | static const char _PROPERTY_DESTINATION []; |
| |
/** | /** |
|
The name of the Trap Destination property for SNMP Mapper Indication |
|
Handler subclass |
|
*/ |
|
static const char _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 char _PROPERTY_SNMPTYPE []; |