version 1.49, 2004/12/29 20:45:01
|
version 1.50, 2005/01/21 04:15:59
|
|
|
| |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
|
/* Versions prior to 86 did not include enableIndications routine */ |
|
if (pr.miVector.indMI->ft->ftVersion >= 86) { |
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ThreadContext thr(&pr.broker,&eCtx); | CMPI_ThreadContext thr(&pr.broker,&eCtx); |
|
|
| |
STAT_PMS_PROVIDEREND; | STAT_PMS_PROVIDEREND; |
} | } |
|
else |
|
{ |
|
PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL4, |
|
"Not calling provider.EnableIndicationRequest: " + pr.getName() + |
|
" routine as it is an earlier version that does not support this function"); |
|
DDD(cerr<<"--- CMPIProviderManager::enableIndicationRequest cannot be called " \ |
|
"as the provider uses an earlier version that does not support this function"<<endl); |
|
} |
|
|
|
} |
HandlerCatch(handler); | HandlerCatch(handler); |
| |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
|
|
| |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
|
/* Versions prior to 86 did not include disableIndications routine */ |
|
if (pr.miVector.indMI->ft->ftVersion >= 86) { |
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ThreadContext thr(&pr.broker,&eCtx); | CMPI_ThreadContext thr(&pr.broker,&eCtx); |
|
|
| |
STAT_PMS_PROVIDEREND; | STAT_PMS_PROVIDEREND; |
} | } |
|
else |
|
{ |
|
PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL4, |
|
"Not calling provider.EnableIndicationRequest: " + pr.getName() + |
|
" routine as it is an earlier version that does not support this function"); |
|
|
|
DDD(cerr<<"--- CMPIProviderManager::disableIndicationRequest cannot be called " \ |
|
"as the provider uses an earlier version that does not support this function"<<endl); |
|
|
|
} |
|
} |
HandlerCatch(handler); | HandlerCatch(handler); |
| |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |