(file) Return to ResponseHandler.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/ResponseHandler.h between version 1.11 and 1.12

version 1.11, 2003/07/20 14:40:35 version 1.12, 2003/10/13 20:41:11
Line 42 
Line 42 
 #include <Pegasus/Common/CIMObject.h> #include <Pegasus/Common/CIMObject.h>
 #include <Pegasus/Common/CIMClass.h> #include <Pegasus/Common/CIMClass.h>
 #include <Pegasus/Common/OperationContext.h> #include <Pegasus/Common/OperationContext.h>
 #include <Pegasus/Common/ContentLanguages.h>  //l10n  
   
  
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   class ResponseHandlerRep;
   
 /** /**
 <p>The <tt>ResponseHandler</tt> class allows a provider <p>The <tt>ResponseHandler</tt> class allows a provider
 to report operation progress and results to the CIM Server. to report operation progress and results to the CIM Server.
Line 96 
Line 96 
     */     */
     virtual void processing(void) = 0;     virtual void processing(void) = 0;
  
 // l10n  
     /**  
     Inform the CIM Server of the language(s) of the results.  
     <p>The provider may call, but is not required to call,  
     <tt>setLanguages</tt> before attempting to call <tt>deliver</tt>.  
     */  
     virtual void setLanguages(const ContentLanguages & languages) = 0;  
   
     /**     /**
     Inform the CIM Server that delivery of results is complete.     Inform the CIM Server that delivery of results is complete.
     <p>The provider must call <tt>complete</tt> when all     <p>The provider must call <tt>complete</tt> when all
Line 111 
Line 103 
     after calling <tt>complete</tt>.</p>     after calling <tt>complete</tt>.</p>
     */     */
     virtual void complete(void) = 0;     virtual void complete(void) = 0;
   
       /**
       Set the context for the results delivered to the CIM Server.
       <p>The <tt>setContext</tt> function is used by providers to
       set a context for the response, in the form of an OperationContext
       object.  The context of the response contains the settings that
       apply to all the results delivered to the CIM Server.  An example
       context is the language of the response, in the form of a
       ContentLanguageListContainer in the OperationContext.</p>
       <p>This method may be called at any point in the response
       processing before <tt>complete</tt> is called.</p>
       <p>Currently supported OperationContext containers:
       <li>
       ContentLanguageListContainer: used to set the ContentLanguages of the
       results.
       </li>
       </p>
       <p>Implementation Note:  This method is concrete to preserve
       binary compatibility with previous releases of the CIMServer</p>
       */
       void setContext(const OperationContext & context);
   
   protected:
   
       ResponseHandler();
   
       //
       // Gets the context for the results delivered to the CIM Server.
       //
       OperationContext getContext(void) const;
   
       ResponseHandlerRep* _rep;
 }; };
  
  


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2