version 1.20, 2006/08/23 19:47:45
|
version 1.23, 2008/05/02 21:05:32
|
|
|
#define Pegasus_ProviderManager_h | #define Pegasus_ProviderManager_h |
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
|
#include <Pegasus/Common/PegasusVersion.h> |
#include <Pegasus/Common/CIMMessage.h> | #include <Pegasus/Common/CIMMessage.h> |
| |
#include <Pegasus/ProviderManager2/Linkage.h> | #include <Pegasus/ProviderManager2/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
#define IDLE_LIMIT 300 |
|
|
|
typedef void (*PEGASUS_INDICATION_CALLBACK_T)( | typedef void (*PEGASUS_INDICATION_CALLBACK_T)( |
CIMProcessIndicationRequestMessage*); | CIMProcessIndicationRequestMessage*); |
| |
|
|
class PEGASUS_PPM_LINKAGE ProviderManager | class PEGASUS_PPM_LINKAGE ProviderManager |
{ | { |
public: | public: |
ProviderManager(void); |
ProviderManager(); |
virtual ~ProviderManager(void); |
virtual ~ProviderManager(); |
| |
virtual Message * processMessage(Message * message) = 0; | virtual Message * processMessage(Message * message) = 0; |
| |
|
|
Sets the SubscriptionInitComplete flag indicating whether the Indication | Sets the SubscriptionInitComplete flag indicating whether the Indication |
Service has completed its initialization. | Service has completed its initialization. |
*/ | */ |
virtual void setSubscriptionInitComplete |
virtual void setSubscriptionInitComplete(Boolean subscriptionInitComplete); |
(Boolean subscriptionInitComplete); |
|
| |
protected: | protected: |
PEGASUS_INDICATION_CALLBACK_T _indicationCallback; | PEGASUS_INDICATION_CALLBACK_T _indicationCallback; |
|
|
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
|
#define PEGASUS_GET_VERSION_FUNC \ |
|
extern "C" PEGASUS_EXPORT Uint32 getPegasusVersion() \ |
|
{ \ |
|
return PEGASUS_VERSION_NUMBER; \ |
|
} |
|
|
#endif | #endif |