CMPI 2.1.0 API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields

Function table for some MB services (thread registration, indications services, and client services). More...

#include <cmpift.h>

Data Fields

unsigned int brokerCapabilities
 Bitmask representing the MB capabilities supported by this MB. More...
 
CMPIVersion brokerVersion
 CMPI version supported by this MB for this function table. More...
 
const char * brokerName
 Informal MB-specific name for this MB. More...
 
CMPIContext *(* prepareAttachThread )(const CMPIBroker *mb, const CMPIContext *ctx)
 Prepare the MB to accept a new thread that will be using MB functions. More...
 
CMPIStatus(* attachThread )(const CMPIBroker *mb, const CMPIContext *ctx)
 Inform the MB that the current thread will begin using MB functions. More...
 
CMPIStatus(* detachThread )(const CMPIBroker *mb, const CMPIContext *ctx)
 Inform the MB that the current thread will no longer use MB functions. More...
 
CMPIStatus(* deliverIndication )(const CMPIBroker *mb, const CMPIContext *ctx, const char *ns, const CMPIInstance *ind)
 Request delivery of an indication. More...
 
CMPIEnumeration *(* enumerateInstanceNames )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *classPath, CMPIStatus *rc)
 Enumerate the instance paths of the instances of a given class (and its subclasses). More...
 
CMPIInstance *(* getInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char **properties, CMPIStatus *rc)
 Get an existing instance. More...
 
CMPIObjectPath *(* createInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *classPath, const CMPIInstance *newInst, CMPIStatus *rc)
 Create an instance of a given class. More...
 
CMPIStatus(* modifyInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const CMPIInstance *modInst, const char **properties)
 Modify property values of an existing instance. More...
 
CMPIStatus(* deleteInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath)
 Delete an existing instance. More...
 
CMPIEnumeration *(* execQuery )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *classPath, const char *query, const char *lang, CMPIStatus *rc)
 Execute a query on a given class and return the query result. More...
 
CMPIEnumeration *(* enumerateInstances )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *classPath, const char **properties, CMPIStatus *rc)
 Enumerate the instances of a given class (and its subclasses). More...
 
CMPIEnumeration *(* associators )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, const char **properties, CMPIStatus *rc)
 Enumerate the instances associated with a given source instance. More...
 
CMPIEnumeration *(* associatorNames )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, CMPIStatus *rc)
 Enumerate the instance paths of the instances associated with a given source instance. More...
 
CMPIEnumeration *(* references )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *resultClass, const char *role, const char **properties, CMPIStatus *rc)
 Enumerate the association instances referencing a given source instance. More...
 
CMPIEnumeration *(* referenceNames )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *resultClass, const char *role, CMPIStatus *rc)
 Enumerate the instance paths of the association instances referencing a given source instance. More...
 
CMPIData(* invokeMethod )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *objPath, const char *method, const CMPIArgs *in, CMPIArgs *out, CMPIStatus *rc)
 Invoke a method on a target object. More...
 
CMPIStatus(* setProperty )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *name, const CMPIValue *value, CMPIType type)
 Set or modify a property of an existing instance. (Deprecated) More...
 
CMPIData(* getProperty )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *name, CMPIStatus *rc)
 Get a property of an existing instance. (Deprecated) More...
 
CMPIEnumeration *(* enumerateInstancesFiltered )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *classPath, const char **properties, const char *filterQueryLanguage, const char *filterQuery, CMPIStatus *rc)
 Enumerate the instances of a given class (and its subclasses), returning only those that match the given query filter. More...
 
CMPIEnumeration *(* associatorsFiltered )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, const char **properties, const char *filterQueryLanguage, const char *filterQuery, CMPIStatus *rc)
 Enumerate the instances associated with a given source instance, returning only those that match the given filters. More...
 
CMPIEnumeration *(* referencesFiltered )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *resultClass, const char *role, const char **properties, const char *filterQueryLanguage, const char *filterQuery, CMPIStatus *rc)
 Enumerate the instances referencing a given source instance, returning only those that match the given filters. More...
 

Detailed Description

Function table for some MB services (thread registration, indications services, and client services).

This function table is referenced by the CMPIBroker structure, and provides Thread Registration Services, Indications Services, and Client Services ("up-calls").

For functions that are not supported, their function pointers in this function table shall not be NULL, but shall point to a function that can be called and then indicate back to the caller that it is not supported, as specified in the description of the function.

Field Documentation

unsigned int CMPIBrokerFT::brokerCapabilities

Bitmask representing the MB capabilities supported by this MB.

For a definition of the test masks for this field, see MB Capabilities.

CMPIVersion CMPIBrokerFT::brokerVersion

CMPI version supported by this MB for this function table.

Any earlier CMPI versions are implicitly also supported. See CMPIVersion<NNN> for valid CMPI version numbers.

Note: This is not the version of the MB.

Convenience Function
CBBrokerVersion()
const char* CMPIBrokerFT::brokerName

Informal MB-specific name for this MB.

Convenience Function
CBBrokerName()

The documentation for this struct was generated from the following file: