cmpi
cmpi
CmpiBroker.h
Go to the documentation of this file.
1
/*
2
*
3
* $Id: CmpiBroker.h,v 1.3 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 Mgmt Broker Definitions
20
*
21
*/
22
23
#ifndef _CmpiBroker_h_
24
#define _CmpiBroker_h_
25
26
#include "
cmpidt.h
"
27
#include "
cmpift.h
"
28
29
class
CmpiInstance
;
30
class
CmpiObject
;
31
class
CmpiEnumeration
;
32
class
CmpiArgs
;
33
34
#include "
Linkage.h
"
35
#include "
CmpiObject.h
"
36
#include "
CmpiString.h
"
37
#include "
CmpiInstance.h
"
38
#include "
CmpiContext.h
"
39
#include "
CmpiObjectPath.h
"
40
#include "
CmpiBaseMI.h
"
41
#include "
CmpiEnumeration.h
"
42
46
class
CMPI_PROVIDER_LINKAGE
CmpiBroker
:
public
CmpiObject
{
47
public
:
50
CmpiBroker
(
CMPIBroker
* b);
51
54
CMPIBroker
*getEnc()
const
;
55
63
CmpiContext
prepareAttachThread
64
(
const
CmpiContext
& ctx);
65
70
void
attachThread
71
(
const
CmpiContext
& ctx);
72
78
void
detachThread
79
(
const
CmpiContext
& ctx);
80
81
// class 0 services
82
89
void
deliverIndication
90
(
const
CmpiContext
& ctx,
const
char
* ns,
const
CmpiInstance
& ind);
91
97
CmpiEnumeration
enumInstanceNames
98
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op);
99
109
CmpiInstance
getInstance
110
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
111
const
char
** properties);
112
119
CmpiObjectPath
createInstance
120
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
121
const
CmpiInstance
& inst);
122
128
void
setInstance
129
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
130
const
CmpiInstance
& inst,
const
char
** properties);
131
136
void
deleteInstance
137
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op);
138
147
CmpiEnumeration
execQuery
148
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
149
const
char
* query,
const
char
* lang);
150
161
CmpiEnumeration
enumInstances
162
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
163
const
char
** properties);
164
193
CmpiEnumeration
associators
194
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
195
const
char
* assocClass,
const
char
* resultClass,
196
const
char
* role,
const
char
* resultRole,
197
const
char
** properties);
198
224
CmpiEnumeration
associatorNames
225
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
226
const
char
* assocClass,
const
char
* resultClass,
227
const
char
* role,
const
char
* resultRole);
228
248
CmpiEnumeration
references
249
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
250
const
char
* resultClass,
const
char
* role,
251
const
char
** properties);
252
269
CmpiEnumeration
referenceNames
270
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
271
const
char
* resultClass,
const
char
* role);
272
282
CmpiData
invokeMethod
283
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
284
const
char
* method,
const
CmpiArgs
& in,
CmpiArgs
& out);
285
292
void
setProperty
293
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
294
const
char
* name,
const
CmpiData
& data);
295
302
CmpiData
getProperty
303
(
const
CmpiContext
& ctx,
const
CmpiObjectPath
& op,
304
const
char
* name);
305
};
306
307
#endif
308
309
310
CmpiArgs
Definition:
CmpiArgs.h:39
cmpift.h
CmpiObject::CmpiBroker
friend class CmpiBroker
Definition:
CmpiObject.h:43
CmpiObjectPath.h
CmpiBroker
Definition:
CmpiBroker.h:46
CmpiEnumeration
Definition:
CmpiEnumeration.h:42
Linkage.h
_CMPIBroker
Definition:
cmpift.h:950
CmpiInstance.h
CmpiData
Definition:
CmpiData.h:52
CmpiBaseMI.h
CmpiInstance
Definition:
CmpiInstance.h:42
CmpiContext.h
CmpiString.h
CmpiObjectPath
Definition:
CmpiObjectPath.h:42
CmpiObject.h
CmpiObject
Definition:
CmpiObject.h:42
CMPI_PROVIDER_LINKAGE
#define CMPI_PROVIDER_LINKAGE
Definition:
Linkage.h:28
cmpidt.h
CmpiEnumeration.h
CmpiContext
Definition:
CmpiContext.h:38
Generated by
1.8.14