ResponseHandler Class Referenceabstract

#include <ResponseHandler.h>

Inheritance diagram for ResponseHandler:
IndicationResponseHandler InstanceResponseHandler MethodResultResponseHandler ObjectPathResponseHandler ObjectResponseHandler

Public Member Functions

virtual ~ResponseHandler ()
 
virtual void processing ()=0
 
virtual void complete ()=0
 
void setContext (const OperationContext &context)
 

Protected Member Functions

 ResponseHandler ()
 
 ResponseHandler (const ResponseHandler &handler)
 
ResponseHandleroperator= (const ResponseHandler &handler)
 
OperationContext getContext () const
 

Detailed Description

The ResponseHandler class allows a provider to report operation progress and results to the CIM Server. Subclasses are defined for each type of result data.

Constructor & Destructor Documentation

◆ ~ResponseHandler()

virtual ResponseHandler::~ResponseHandler ( )
virtual

Destructs the ResponseHandler.

◆ ResponseHandler() [1/2]

ResponseHandler::ResponseHandler ( )
protected

The default constructor is not available for the ResponseHandler class.

◆ ResponseHandler() [2/2]

ResponseHandler::ResponseHandler ( const ResponseHandler handler)
protected

The copy constructor is not available for the ResponseHandler class.

Member Function Documentation

◆ complete()

virtual void ResponseHandler::complete ( )
pure virtual

Informs the CIM Server that delivery of results is complete. This method must be called when all the results have been delivered. The deliver() method must not be called after this method is called.

◆ getContext()

OperationContext ResponseHandler::getContext ( ) const
protected

Gets the context for the results delivered to the CIM Server.

◆ operator=()

ResponseHandler& ResponseHandler::operator= ( const ResponseHandler handler)
protected

The assignment operator is not available for the ResponseHandler class.

◆ processing()

virtual void ResponseHandler::processing ( )
pure virtual

Informs the CIM Server that delivery of results will begin. This method must be called before deliver() is called.

◆ setContext()

void ResponseHandler::setContext ( const OperationContext context)

Sets the context for operation responses delivered to the CIM Server. This method allows a provider to communicate context information (such as content language) along with an operation response. The context information applies to all the operation response data delivered to this ResponseHandler object. The context information is applied at the time the complete() method is called.


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