cmpi
CmpiMethodMI.h
Go to the documentation of this file.
1/*
2 *
3 * $Id: CmpiMethodMI.h,v 1.4 2008/07/09 19:36:59 tyreld Exp $
4 *
5 * (C) Copyright IBM Corp. 2003, 2005, 2008
6 *
7 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
8 * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
9 * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
10 *
11 * You can obtain a current copy of the Eclipse Public License from
12 * http://www.opensource.org/licenses/eclipse-1.0.txt
13 *
14 * Author: Adrian Schuur <schuur@de.ibm.com>
15 * Contributors: Heidi Neumann, heidineu@de.ibm.com
16 * Angel Nunez Mencias, anunez@de.ibm.com
17 * Viktor Mihajlovski, mihajlov@de.ibm.com
18 *
19 * Description: CMPI Method MI Definitions
20 *
21 */
22
23#ifndef _CmpiMethodMI_h_
24#define _CmpiMethodMI_h_
25
26#include <iostream>
27
28#include "cmpidt.h"
29#include "cmpift.h"
30
31#include "Linkage.h"
32#include "CmpiBaseMI.h"
33#include "CmpiStatus.h"
34#include "CmpiObjectPath.h"
35#include "CmpiResult.h"
36#include "CmpiContext.h"
37#include "CmpiBroker.h"
38#include "CmpiArgs.h"
39
40
42public:
43 CmpiMethodMI(const CmpiBroker &mbp, const CmpiContext& ctx);
44
45 static CMPIStatus driveInvokeMethod
46 (CMPIMethodMI* mi, const CMPIContext* eCtx, const CMPIResult* eRslt,
47 const CMPIObjectPath* eCop, const char* methodName,
48 const CMPIArgs* eIn, CMPIArgs* eOut);
49
50 virtual CmpiStatus invokeMethod
51 (const CmpiContext& ctx, CmpiResult& rslt,
52 const CmpiObjectPath& ref, const char* methodName,
53 const CmpiArgs& in, CmpiArgs& out);
54};
55
56#endif
57
#define CMPI_PROVIDER_LINKAGE
Definition: Linkage.h:28
Definition: CmpiArgs.h:39
Definition: CmpiBaseMI.h:39
Definition: CmpiBroker.h:46
Definition: CmpiContext.h:38
Definition: CmpiMethodMI.h:41
Definition: CmpiObjectPath.h:42
Definition: CmpiResult.h:40
Definition: CmpiStatus.h:35
Definition: cmpift.h:2066
Definition: cmpift.h:1062
Definition: cmpift.h:2913
Definition: cmpift.h:1507
Definition: cmpift.h:1086
Definition: cmpidt.h:512