#include <CmpiBroker.h>
Inheritance diagram for CmpiBroker:
Public Member Functions | |
CmpiBroker (CMPIBroker *b) | |
CmpiContext | prepareAttachThread (const CmpiContext &ctx) |
This function prepares the CMPI run time system to accept a thread that will be using CMPI services. | |
void | attachThread (const CmpiContext &ctx) |
This function informs the CMPI run time system that the current thread with Context will begin using CMPI services. | |
void | detachThread (const CmpiContext &ctx) |
This function informs the CMPI run time system that the current thread will not be using CMPI services anymore. | |
void | deliverIndication (const CmpiContext &ctx, const char *ns, const CmpiInstance &ind) |
This function requests delivery of an Indication. | |
CmpiEnumeration | enumInstanceNames (const CmpiContext &ctx, const CmpiObjectPath &op) |
Enumerate Instance Names of the class (and subclasses) defined by <op>. | |
CmpiInstance | getInstance (const CmpiContext &ctx, const CmpiObjectPath &op, const char **properties) |
Get Instance using <op> as reference. | |
CmpiObjectPath | createInstance (const CmpiContext &ctx, const CmpiObjectPath &op, const CmpiInstance &inst) |
Create Instance from <inst> using <op> as reference. | |
void | setInstance (const CmpiContext &ctx, const CmpiObjectPath &op, const CmpiInstance &inst) |
Replace an existing Instance from <inst> using <op> as reference. | |
void | deleteInstance (const CmpiContext &ctx, const CmpiObjectPath &op) |
Delete an existing Instance using <op> as reference. | |
CmpiEnumeration | execQuery (const CmpiContext &ctx, const CmpiObjectPath &op, const char *query, const char *lang) |
Query the enumeration of instances of the class (and subclasses) defined by <op> using <query> expression. | |
CmpiEnumeration | enumInstances (const CmpiContext &ctx, const CmpiObjectPath &op, const char **properties) |
Enumerate Instances of the class (and subclasses) defined by <op>. | |
CmpiEnumeration | associators (const CmpiContext &ctx, const CmpiObjectPath &op, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, const char **properties) |
Enumerate instances associated with the Instance defined by the <op>. | |
CmpiEnumeration | associatorNames (const CmpiContext &ctx, const CmpiObjectPath &op, const char *assocClass, const char *resultClass, const char *role, const char *resultRole) |
Enumerate ObjectPaths associated with the Instance defined by <op>. | |
CmpiEnumeration | references (const CmpiContext &ctx, const CmpiObjectPath &op, const char *resultClass, const char *role, const char **properties) |
Enumerates the association instances that refer to the instance defined by <op>. | |
CmpiEnumeration | referenceNames (const CmpiContext &ctx, const CmpiObjectPath &op, const char *resultClass, const char *role) |
Enumerates the association ObjectPaths that refer to the instance defined by <op>. | |
CmpiData | invokeMethod (const CmpiContext &ctx, const CmpiObjectPath &op, const char *method, const CmpiArgs &in, CmpiArgs &out) |
Invoke a named, extrinsic method of an Instance defined by the <op> parameter. | |
void | setProperty (const CmpiContext &ctx, const CmpiObjectPath &op, const char *name, const CmpiData &data) |
Set the named property value of an Instance defined by the <op> parameter. | |
CmpiData | getProperty (const CmpiContext &ctx, const CmpiObjectPath &op, const char *name) |
Get the named property value of an Instance defined by the <op> parameter. | |
Protected Member Functions | |
CMPIBroker * | getEnc () const |
getEnc - Gets the encapsulated CMPIBroker. | |
Private Member Functions | |
CmpiBroker () | |
Constructor - Should not be called. | |
Friends | |
class | CmpiBaseMI |
class | CmpiInstanceMI |
class | CmpiInstance |
class | CmpiObjectPath |
class | CmpiEnumeration |
Definition at line 42 of file CmpiBroker.h.
|
Constructor - Should not be called.
Definition at line 64 of file CmpiBroker.h. |
|
Definition at line 67 of file CmpiBroker.h. |
|
Enumerate ObjectPaths associated with the Instance defined by <op>.
Definition at line 1010 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
Enumerate instances associated with the Instance defined by the <op>.
Definition at line 1001 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
This function informs the CMPI run time system that the current thread with Context will begin using CMPI services.
|
|
Create Instance from <inst> using <op> as reference.
Definition at line 964 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
Delete an existing Instance using <op> as reference.
Definition at line 977 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
This function requests delivery of an Indication. The CIMOM will locate pertinent subscribers and notify them about the event.
Definition at line 934 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
This function informs the CMPI run time system that the current thread will not be using CMPI services anymore. The Context object will be freed during this operation.
|
|
Enumerate Instance Names of the class (and subclasses) defined by <op>.
Definition at line 941 of file CmpiImpl.cpp. References _CMPIBroker::bft, CMPI_RC_OK, CmpiEnumeration, cop, _CMPIBrokerFT::enumInstanceNames, CmpiContext::getEnc(), getEnc(), and _CMPIStatus::rc. |
|
Enumerate Instances of the class (and subclasses) defined by <op>. Instance structure and inheritance scope can be controled using the CMPIInvocationFlags entry in <ctx>.
Definition at line 990 of file CmpiImpl.cpp. References _CMPIBroker::bft, CMPI_RC_OK, CmpiEnumeration, cop, _CMPIBrokerFT::enumInstances, CmpiContext::getEnc(), getEnc(), and _CMPIStatus::rc. |
|
Query the enumeration of instances of the class (and subclasses) defined by <op> using <query> expression.
Definition at line 982 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
getEnc - Gets the encapsulated CMPIBroker.
Definition at line 58 of file CmpiBroker.h. References CmpiObject::enc. Referenced by enumInstanceNames(), enumInstances(), and getInstance(). |
|
Get Instance using <op> as reference. Instance structure can be controled using the CMPIInvocationFlags entry in <ctx>.
Definition at line 951 of file CmpiImpl.cpp. References _CMPIBroker::bft, CMPI_RC_OK, CmpiInstance, cop, CmpiContext::getEnc(), getEnc(), _CMPIBrokerFT::getInstance, and _CMPIStatus::rc. |
|
Get the named property value of an Instance defined by the <op> parameter.
Definition at line 1045 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
Invoke a named, extrinsic method of an Instance defined by the <op> parameter.
Definition at line 1033 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
This function prepares the CMPI run time system to accept a thread that will be using CMPI services. The returned CMPIContext object must be used by the subsequent attachThread() and detachThread() invocations.
|
|
Enumerates the association ObjectPaths that refer to the instance defined by <op>.
Definition at line 1026 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
Enumerates the association instances that refer to the instance defined by <op>.
Definition at line 1018 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
Replace an existing Instance from <inst> using <op> as reference.
Definition at line 971 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
Set the named property value of an Instance defined by the <op> parameter.
Definition at line 1039 of file CmpiImpl.cpp. References CMPI_RC_ERR_NOT_SUPPORTED. |
|
Definition at line 43 of file CmpiBroker.h. |
|
Definition at line 47 of file CmpiBroker.h. Referenced by enumInstanceNames(), and enumInstances(). |
|
Reimplemented from CmpiObject. Definition at line 45 of file CmpiBroker.h. Referenced by getInstance(). |
|
Definition at line 44 of file CmpiBroker.h. |
|
Reimplemented from CmpiObject. Definition at line 46 of file CmpiBroker.h. |