InstanceResponseHandler Class Referenceabstract

#include <ResponseHandler.h>

Inheritance diagram for InstanceResponseHandler:
ResponseHandler

Public Member Functions

virtual void deliver (const CIMInstance &instance)=0
 
virtual void deliver (const Array< CIMInstance > &instances)=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 InstanceResponseHandler class is a subclass of the ResponseHandler class which allows delivery of instance results.

Member Function Documentation

◆ deliver() [1/2]

virtual void InstanceResponseHandler::deliver ( const CIMInstance instance)
pure virtual

Delivers an instance 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
instanceThe instance 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 InstanceResponseHandler::deliver ( const Array< CIMInstance > &  instances)
pure virtual

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

Parameters
instancesThe instances 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: