In file ../../src/Pegasus/Common/ResponseHandler.h:

class PEGASUS_COMMON_LINKAGE ObjectResponseHandler


Documentation


Inheritance:


Public Methods

[more]virtual void deliver (const CIMObject & object)

The deliver function is used by providers to deliver results to the CIM Server.

[more]virtual void deliver (const Array<CIMObject> & objects)

This form of the deliver function may be used to return a set of elements to the CIM Server.


Inherited from ResponseHandler:

Public Methods

ovirtual void processing(void)
ovirtual void complete(void)
ovirtual void setContext(const OperationContext & context)

Protected Methods

oOperationContext getContext(void) const

ovirtual void deliver(const CIMObject & object) = 0

The deliver function is used by providers to deliver results to the CIM Server. For operations that require a single element result (getInstance, for example), deliver should be called only once to deliver the entire result. For operations that involve enumeration, the single-element form shown here may be used, each iteration delivering an incremental element of the total result. The Array form below may be used to deliver a larger set of result elements.

ovirtual void deliver(const Array<CIMObject> & objects) = 0

This form of the deliver function may be used to return a set of elements to the CIM Server. The set is not required to be complete, and the provider may invoke this function multiple times, if necessary. This form should only be used when the operation requires a result consisting of more than one element, such as an enumeration.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java