(file) Return to CMPIProviderManager.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / CMPI

Diff for /pegasus/src/Pegasus/ProviderManager2/CMPI/CMPIProviderManager.cpp between version 1.49 and 1.50

version 1.49, 2004/12/29 20:45:01 version 1.50, 2005/01/21 04:15:59
Line 1972 
Line 1972 
  
         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);
Line 1991 
Line 1993 
  
        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();
Line 2043 
Line 2055 
  
         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);
Line 2063 
Line 2077 
  
         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();


Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2