ObjectResponseHandler Class Referenceabstract

#include <ResponseHandler.h>

Inheritance diagram for ObjectResponseHandler:
ResponseHandler

Public Member Functions

virtual void deliver (const CIMObject &object)=0
 
virtual void deliver (const Array< CIMObject > &objects)=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 ObjectResponseHandler class is a subclass of the ResponseHandler class which allows delivery of object results.

Member Function Documentation

◆ deliver() [1/2]

virtual void ObjectResponseHandler::deliver ( const CIMObject object)
pure virtual

Delivers an object result 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
objectThe object 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.

◆ deliver() [2/2]

virtual void ObjectResponseHandler::deliver ( const Array< CIMObject > &  objects)
pure virtual

Delivers multiple object results to the CIM Server. This method may be invoked multiple times, if necessary.

Parameters
objectsThe objects 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: