version 1.35, 2006/01/30 16:17:59
|
version 1.36, 2006/09/06 19:32:41
|
|
|
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; |
|
|
... | ... |
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 |