#include <OW_CppIndicationProviderIFC.hpp>
Inheritance diagram for OW_NAMESPACE::CppIndicationProviderIFC:
Public Member Functions | |
virtual | ~CppIndicationProviderIFC () |
virtual void | getIndicationProviderInfoWithEnv (const ProviderRegistrationEnvironmentIFCRef &env, IndicationProviderInfo &info) |
A provider should override this method to report which classes in which namespaces it instruments. | |
virtual void | getIndicationProviderInfo (IndicationProviderInfo &info) |
A provider should override this method to report which classes in which namespaces it instruments. | |
virtual void | activateFilter (const ProviderEnvironmentIFCRef &env, const WQLSelectStatement &filter, const String &eventType, const String &nameSpace, const StringArray &classes, bool firstActivation) |
virtual void | authorizeFilter (const ProviderEnvironmentIFCRef &env, const WQLSelectStatement &filter, const String &eventType, const String &nameSpace, const StringArray &classes, const String &owner) |
virtual void | deActivateFilter (const ProviderEnvironmentIFCRef &env, const WQLSelectStatement &filter, const String &eventType, const String &nameSpace, const StringArray &classes, bool lastActivation) |
virtual int | mustPoll (const ProviderEnvironmentIFCRef &env, const WQLSelectStatement &filter, const String &eventType, const String &nameSpace, const StringArray &classes) |
If a provider wishes to be polled, it must return a positive number. | |
virtual CppIndicationProviderIFC * | getIndicationProvider () |
Definition at line 50 of file OW_CppIndicationProviderIFC.hpp.
|
Definition at line 42 of file OW_CppIndicationProviderIFC.cpp. |
|
Reimplemented in OW_NAMESPACE::provindIndicationRepLayer, and OW_NAMESPACE::OpenWBEM_ObjectManagerInstProv. Definition at line 82 of file OW_CppIndicationProviderIFC.cpp. |
|
Definition at line 56 of file OW_CppIndicationProviderIFC.cpp. |
|
Reimplemented in OW_NAMESPACE::provindIndicationRepLayer, and OW_NAMESPACE::OpenWBEM_ObjectManagerInstProv. Definition at line 93 of file OW_CppIndicationProviderIFC.cpp. |
|
Reimplemented from OW_NAMESPACE::CppProviderBaseIFC. Definition at line 104 of file OW_CppIndicationProviderIFC.cpp. |
|
A provider should override this method to report which classes in which namespaces it instruments. It should insert an entry for each class it is responsible for. It should also insert one entry for each base class of the classes of indications the provider may generate. Note that this base class requirement is unique to indication providers and doesn't apply to other types of providers. The entry consists of the class name and an optional list of namespaces. If the namespace list is empty, all namespaces are implied. If the method does nothing, then the provider's class must have a provider qualifier that identifies the provider. This old behavior is deprecated and will be removed sometime in the future. This method has a default implementation that does nothing, to allow old providers to be migrated forward with little or no change, but once the old provider location method is removed, this member function will be pure virtual. Reimplemented in OW_NAMESPACE::provindIndicationRepLayer, and OW_NAMESPACE::OpenWBEM_ObjectManagerInstProv. Definition at line 77 of file OW_CppIndicationProviderIFC.cpp. Referenced by getIndicationProviderInfoWithEnv(). |
|
A provider should override this method to report which classes in which namespaces it instruments. It should insert an entry for each class it is responsible for. It should also insert one entry for each base class of the classes of indications the provider may generate. Note that this base class requirement is unique to indication providers and doesn't apply to other types of providers. The entry consists of the class name and an optional list of namespaces. If the namespace list is empty, all namespaces are implied. If the method does nothing, then the provider's class must have a provider qualifier that identifies the provider. This old behavior is deprecated and will be removed sometime in the future. This method has a default implementation that does nothing, to allow old providers to be migrated forward with little or no change, but once the old provider location method is removed, this member function will be pure virtual. Definition at line 68 of file OW_CppIndicationProviderIFC.cpp. References getIndicationProviderInfo(). |
|
If a provider wishes to be polled, it must return a positive number. The int returned will be the number of seconds between polls. The cimom performs polling by calling enumInstances() each polling cycle and comparing the results with the previous cycle. It will generate CIM_Inst{Creation,Modification,Deletion} indications based on the difference in the instances. The namespace/classname that will be passed into enumInstances is the same one that is passed as the classPath parameter to mustPoll(). If an event provider does not want to be polled, it should return 0. If the provider is going to start a thread that will wait for some external event, it should do it the first time activateFilter is called firstActivation will == true. If a provider may take a long time to generate all instances in enumInstances, it should either not be polled or it should have a large poll interval. Also, a provider that is polled can only do lifecycle indications. If the provider doesn't do lifecycle indications, then it must return 0 from mustPoll, and has to generate indications by another means.
Definition at line 45 of file OW_CppIndicationProviderIFC.cpp. |