ResponseHandler Class Reference
#include <ResponseHandler.h>
Inheritance diagram for ResponseHandler:![]()
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) ResponseHandler & operator= (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
virtual ResponseHandler::~ResponseHandler ( ) [virtual]
Destructs the ResponseHandler.
ResponseHandler::ResponseHandler ( ) [protected]
The default constructor is not available for the ResponseHandler class.
ResponseHandler::ResponseHandler ( const ResponseHandler & handler ) [protected]
The copy constructor is not available for the ResponseHandler class.
Member Function Documentation
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.
OperationContext ResponseHandler::getContext ( ) const [protected]
Gets the context for the results delivered to the CIM Server.
ResponseHandler& ResponseHandler::operator= ( const ResponseHandler & handler ) [protected]
The assignment operator is not available for the ResponseHandler class.
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.
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:
- /var/tmp/axbld-26152/rpm/BUILD/pegasus/src/Pegasus/Common/ResponseHandler.h