CmpiIndicationMI.h

Go to the documentation of this file.
00001 
00002 /*
00003  *
00004  * CmpiIndicationMI.h
00005  *
00006  * (C) Copyright IBM Corp. 2002
00007  *
00008  * THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE
00009  * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
00010  * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
00011  *
00012  * You can obtain a current copy of the Common Public License from
00013  * http://oss.software.ibm.com/developerworks/opensource/license-cpl.html
00014  *
00015  * Author:        Adrian Schuur <schuur@de.ibm.com>
00016  * Contributors:
00017  *
00018  * Description: CMPI C++ indication provider wrapper
00019  *
00020  */
00021 
00022 #ifndef _CmpiIndicationMI_h_
00023 #define _CmpiIndicationMI_h_
00024 
00025 #include "OW_config.h"
00026 
00027 #include <iostream>
00028 
00029 #include "cmpidt.h"
00030 #include "cmpift.h"
00031 
00032 #include "CmpiBaseMI.h"
00033 #include "CmpiStatus.h"
00034 #include "CmpiObjectPath.h"
00035 #include "CmpiResult.h"
00036 #include "CmpiContext.h"
00037 #include "CmpiSelectExp.h"
00038 
00039 
00040 class CmpiIndicationMI : public CmpiBaseMI {
00041   protected:
00042   public:
00043    virtual ~CmpiIndicationMI() {}
00044    CmpiIndicationMI(CMPIBroker *mbp, const CmpiContext& ctx)
00045       : CmpiBaseMI(mbp,ctx) {}
00046 
00047    static CMPIStatus driveAuthorizeFilter
00048       (CMPIIndicationMI* mi, CMPIContext* eCtx, CMPIResult* eRslt,
00049        CMPISelectExp* se, char* ns, CMPIObjectPath* op, char* user);
00050    static CMPIStatus driveMustPoll
00051       (CMPIIndicationMI* mi, CMPIContext* eCtx, CMPIResult* eRrslt,
00052        CMPISelectExp* se, char* ns, CMPIObjectPath* op);
00053    static CMPIStatus driveActivateFilter
00054       (CMPIIndicationMI* mi, CMPIContext* eCtx, CMPIResult* eRslt,
00055        CMPISelectExp* se, char* ns, CMPIObjectPath* op, CMPIBoolean first);
00056    static CMPIStatus driveDeActivateFilter
00057       (CMPIIndicationMI* mi, CMPIContext* eCtx, CMPIResult* eRslt,
00058        CMPISelectExp* se, char* ns, CMPIObjectPath* op, CMPIBoolean last);
00059 
00060    virtual CmpiStatus authorizeFilter
00061       (const CmpiContext& ctx, CmpiResult& rslt,
00062        const CmpiSelectExp& se, const char* ns, const CmpiObjectPath& op,
00063        const char* user);
00064    virtual CmpiStatus mustPoll
00065       (const CmpiContext& ctx, CmpiResult& rslt,
00066        const CmpiSelectExp& se, const char* ns, const CmpiObjectPath& op);
00067    virtual CmpiStatus activateFilter
00068       (const CmpiContext& ctx, CmpiResult& rslt,
00069        const CmpiSelectExp& se, const char* ns, const CmpiObjectPath& op,
00070        CmpiBoolean first);
00071    virtual CmpiStatus deActivateFilter
00072       (const CmpiContext& ctx, CmpiResult& rslt,
00073        const CmpiSelectExp& se, const char* ns, const CmpiObjectPath& op,
00074        CmpiBoolean last);
00075 };
00076 
00077 #endif
00078 

Generated on Thu Feb 9 08:47:48 2006 for openwbem by  doxygen 1.4.6