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

Diff for /pegasus/src/Pegasus/Provider/CIMProvider.h between version 1.35 and 1.36

version 1.35, 2006/01/30 16:17:59 version 1.36, 2006/09/06 19:32:41
Line 194 
Line 194 
     This function must complete before the CIM server invokes any other function of     This function must complete before the CIM server invokes any other function of
     the provider, other than terminate.</p>     the provider, other than terminate.</p>
  
       An exception thrown from this method indicates a provider initialization
       failure which prevents it from processing operation requests.
   
     @param cimom Reserved for future use.     @param cimom Reserved for future use.
     */     */
     virtual void initialize(CIMOMHandle & cimom) = 0;     virtual void initialize(CIMOMHandle & cimom) = 0;
Line 226 
Line 229 
     ...     ...
     return;     return;
     }</pre>     }</pre>
     */  
     virtual void terminate(void) = 0;  
  
 #ifdef PEGASUS_PRESERVE_TRYTERMINATE      An exception thrown from this method is considered to be a provider error
     /**      and is ignored.
     Allows a provider to decline a terminate call. If the provider  
     is unable to terminate, it should return false. Otherwise,  
     it calls its terminate() function and then  
     returns true, as in the default implementation.  
     @return     False If the provider is unable to terminate; Otherwise, return true.  
     */     */
     virtual Boolean tryTerminate(void)      virtual void terminate(void) = 0;
       {  
         terminate();  
         return true;  
       }  
 #endif  
   
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2