MethodResultResponseHandler Class Referenceabstract

#include <ResponseHandler.h>

Inheritance diagram for MethodResultResponseHandler:
ResponseHandler

Public Member Functions

virtual void deliverParamValue (const CIMParamValue &outParamValue)=0
 
virtual void deliverParamValue (const Array< CIMParamValue > &outParamValues)=0
 
virtual void deliver (const CIMValue &returnValue)=0
 
- Public Member Functions inherited from ResponseHandler
virtual ~ResponseHandler ()
 
virtual void processing ()=0
 
virtual void complete ()=0
 
void setContext (const OperationContext &context)
 

Additional Inherited Members

- Protected Member Functions inherited from ResponseHandler
 ResponseHandler ()
 
 ResponseHandler (const ResponseHandler &handler)
 
ResponseHandleroperator= (const ResponseHandler &handler)
 
OperationContext getContext () const
 

Detailed Description

The MethodResultResponseHandler class is a subclass of the ResponseHandler class which allows delivery of extrinsic method results.

Member Function Documentation

◆ deliver()

virtual void MethodResultResponseHandler::deliver ( const CIMValue returnValue)
pure virtual

Delivers an extrinsic method return value to the CIM Server.

Parameters
returnValueThe return value to deliver to the CIM Server.
Exceptions
ExceptionMay be thrown if the data that is delivered is not consistent with the corresponding request or associated schema.

◆ deliverParamValue() [1/2]

virtual void MethodResultResponseHandler::deliverParamValue ( const CIMParamValue outParamValue)
pure virtual

Delivers extrinsic method output parameters to the CIM Server. This method may be called multiple times when more than one result needs to be delivered. An Array form of this method is also available to deliver multiple results.

Parameters
outParamValueThe output parameter to deliver to the CIM Server.
Exceptions
ExceptionMay be thrown if the data that is delivered is not consistent with the corresponding request or associated schema.

◆ deliverParamValue() [2/2]

virtual void MethodResultResponseHandler::deliverParamValue ( const Array< CIMParamValue > &  outParamValues)
pure virtual

Delivers a set of output parameters to the CIM Server. This method may be invoked multiple times, if necessary.

Parameters
outParamValuesAn Array of method output parameters to deliver to the CIM Server.
Exceptions
ExceptionMay be thrown if the data that is delivered is not consistent with the corresponding request or associated schema.

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