_CMPIBrokerFT Struct Reference

#include <cmpift.h>

List of all members.

Public Attributes

unsigned int brokerCapabilities
unsigned int brokerVersion
const char * brokerName
CMPIContext *(* prepareAttachThread )(const CMPIBroker *mb, const CMPIContext *ctx)
CMPIStatus(* attachThread )(const CMPIBroker *, const CMPIContext *)
CMPIStatus(* detachThread )(const CMPIBroker *mb, const CMPIContext *ctx)
CMPIStatus(* deliverIndication )(const CMPIBroker *mb, const CMPIContext *ctx, const char *ns, const CMPIInstance *ind)
CMPIEnumeration *(* enumerateInstanceNames )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, CMPIStatus *rc)
CMPIInstance *(* getInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char **properties, CMPIStatus *rc)
CMPIObjectPath *(* createInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const CMPIInstance *inst, CMPIStatus *rc)
CMPIStatus(* modifyInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const CMPIInstance *inst, const char **properties)
CMPIStatus(* deleteInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op)
CMPIEnumeration *(* execQuery )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *query, const char *lang, CMPIStatus *rc)
CMPIEnumeration *(* enumerateInstances )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char **properties, CMPIStatus *rc)
CMPIEnumeration *(* associators )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, const char **properties, CMPIStatus *rc)
CMPIEnumeration *(* associatorNames )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, CMPIStatus *rc)
CMPIEnumeration *(* references )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *resultClass, const char *role, const char **properties, CMPIStatus *rc)
CMPIEnumeration *(* referenceNames )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *resultClass, const char *role, CMPIStatus *rc)
CMPIData(* invokeMethod )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *method, const CMPIArgs *in, CMPIArgs *out, CMPIStatus *rc)
CMPIStatus(* setProperty )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *name, const CMPIValue *value, CMPIType type)
CMPIData(* getProperty )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *name, CMPIStatus *rc)

Detailed Description

This structure is a table of pointers to broker CIMOM services (up-calls). This table is made available by the Management Broker, whenever a provider is loaded and initialized.


Member Data Documentation

CMPIEnumeration*(* _CMPIBrokerFT::associatorNames)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, CMPIStatus *rc)

Enumerate ObjectPaths associated with the Instance defined by <op>.

Parameters:
mbPointer to the broker.
ctxContext object
opSource ObjectPath containing namespace, classname and key components.
assocClassIf not NULL, MUST be a valid Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
resultClassIf not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses).
roleIf not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter)
resultRoleIf not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
rcOutput: Service return status (suppressed when NULL).
Returns:
Enumeration of ObjectPaths.
CMPIEnumeration*(* _CMPIBrokerFT::associators)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, const char **properties, CMPIStatus *rc)

Enumerate instances associated with the Instance defined by the <op>.

Parameters:
mbPointer to the broker.
ctxContext object
opSource ObjectPath containing namespace, classname and key components.
assocClassIf not NULL, MUST be a valid Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
resultClassIf not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses).
roleIf not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
resultRoleIf not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
propertiesIf not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list
rcOutput: Service return status (suppressed when NULL).
Returns:
Enumeration of Instances.

This function informs the CMPI run time system that the current thread with Context will begin using CMPI services.

Parameters:
mbPointer to the broker.
ctxContext object
Returns:
Service return status.

32 bits describing CMPI features supported by this CIMOM. See CMPI_MB_Class_x and CMPI_MB_Supports_xxx flags.

CIMOM name.

CIMOM version as defined by CIMOM.

Create Instance from <inst> using <op> as reference.

Parameters:
mbPointer to the broker.
ctxContext object
opObjectPath containing namespace, classname and key components.
instComplete instance.
rcOutput: Service return status (suppressed when NULL).
Returns:
The assigned instance reference.

Delete an existing Instance using <op> as reference.

Parameters:
mbPointer to the broker.
ctxContext object
opObjectPath containing namespace, classname and key components.
Returns:
Service return status.
CMPIStatus(* _CMPIBrokerFT::deliverIndication)(const CMPIBroker *mb, const CMPIContext *ctx, const char *ns, const CMPIInstance *ind)

This function requests delivery of an Indication. The CIMOM will locate pertinent subscribers and notify them about the event.

Parameters:
mbPointer to the broker.
ctxContext object
nsNamespace
indIndication Instance
Returns:
Service return status.

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.

Parameters:
mbPointer to the broker.
ctxContext object
Returns:
Service return status.

Enumerate Instance Names of the class (and subclasses) defined by <op>.

Parameters:
mbPointer to the broker.
ctxContext object
opObjectPath containing namespace and classname components.
rcOutput: Service return status (suppressed when NULL).
Returns:
Enumeration of ObjectPathes.
CMPIEnumeration*(* _CMPIBrokerFT::enumerateInstances)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char **properties, 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>.

Parameters:
mbPointer to the broker.
ctxContext object
opObjectPath containing namespace and classname components.
propertiesIf not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list
rcOutput: Service return status (suppressed when NULL).
Returns:
Enumeration of Instances.
CMPIEnumeration*(* _CMPIBrokerFT::execQuery)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *query, const char *lang, CMPIStatus *rc)

Query the enumeration of instances of the class (and subclasses) defined by <op> using <query> expression.

Parameters:
mbPointer to the broker.
ctxContext object
opObjectPath containing namespace and classname components.
queryQuery expression
langQuery Language
rcOutput: Service return status (suppressed when NULL).
Returns:
Resulting eumeration of Instances.
CMPIInstance*(* _CMPIBrokerFT::getInstance)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char **properties, CMPIStatus *rc)

Get Instance using <op> as reference. Instance structure can be controled using the CMPIInvocationFlags entry in <ctx>.

Parameters:
mbPointer to the broker.
ctxContext object
opObjectPath containing namespace, classname and key components.
propertiesIf not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list
rcOutput: Service return status (suppressed when NULL).
Returns:
The Instance.
CMPIData(* _CMPIBrokerFT::getProperty)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *name, CMPIStatus *rc)

Get the named property value of an Instance defined by the < op> parameter.

Parameters:
mbPointer to the broker.
ctxContext object
opObjectPath containing namespace, classname and key components.
nameProperty name
rcOutput: Service return status (suppressed when NULL).
Returns:
Property value.
CMPIData(* _CMPIBrokerFT::invokeMethod)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *method, const CMPIArgs *in, CMPIArgs *out, CMPIStatus *rc)

Invoke a named, extrinsic method of an Instance defined by the <op> parameter.

Parameters:
mbPointer to the broker.
ctxContext object
opObjectPath containing namespace, classname and key components.
methodMethod name
inInput parameters.
outOutput parameters.
rcOutput: Service return status (suppressed when NULL).
Returns:
Method return value.
CMPIStatus(* _CMPIBrokerFT::modifyInstance)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const CMPIInstance *inst, const char **properties)

Replace an existing Instance from <inst> using <op> as reference.

Parameters:
mbPointer to the broker.
ctxContext object
opObjectPath containing namespace, classname and key components.
instComplete instance.
Returns:
Service return status.

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.

Parameters:
mbPointer to the broker.
ctxOld Context object
Returns:
New Context object to be used by thread to be attached.
CMPIEnumeration*(* _CMPIBrokerFT::referenceNames)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *resultClass, const char *role, CMPIStatus *rc)

Enumerates the association ObjectPaths that refer to the instance defined by <op>.

Parameters:
mbPointer to the broker.
ctxContext object
opSource ObjectPath containing namespace, classname and key components.
resultClassIf not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses).
roleIf not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter)
rcOutput: Service return status (suppressed when NULL).
Returns:
Enumeration of ObjectPaths.
CMPIEnumeration*(* _CMPIBrokerFT::references)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *resultClass, const char *role, const char **properties, CMPIStatus *rc)

Enumerates the association instances that refer to the instance defined by <op>.

Parameters:
mbPointer to the broker.
ctxContext object
opSource ObjectPath containing namespace, classname and key components.
resultClassIf not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses).
roleIf not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter)
propertiesIf not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list
rcOutput: Service return status (suppressed when NULL).
Returns:
Enumeration of ObjectPaths.
CMPIStatus(* _CMPIBrokerFT::setProperty)(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *op, const char *name, const CMPIValue *value, CMPIType type)

Set the named property value of an Instance defined by the < op> parameter.

Parameters:
mbPointer to the broker.
ctxContext object
opObjectPath containing namespace, classname and key components.
nameProperty name
valueValue.
typeValue type.
Returns:
Service return status.

The documentation for this struct was generated from the following file:
  • /srv/build/STABLE_8/pkgs/tog-pegasus/BUILD/pegasus/src/Pegasus/Provider/CMPI/cmpift.h