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

Diff for /pegasus/src/Pegasus/ProviderManager2/JMPI/JMPILocalProviderManager.cpp between version 1.12.6.1 and 1.13

version 1.12.6.1, 2006/07/28 20:50:02 version 1.13, 2006/07/27 08:33:24
Line 39 
Line 39 
  
 #include "JMPILocalProviderManager.h" #include "JMPILocalProviderManager.h"
  
 #include <Pegasus/Common/Time.h>  
 #include <Pegasus/Common/Constants.h> #include <Pegasus/Common/Constants.h>
 #include <Pegasus/Common/Tracer.h> #include <Pegasus/Common/Tracer.h>
 #include <Pegasus/Common/PegasusVersion.h> #include <Pegasus/Common/PegasusVersion.h>
Line 283 
Line 282 
                   {                   {
                       provider->initialize(*(provider->_cimom_handle));                       provider->initialize(*(provider->_cimom_handle));
                   }                   }
                     catch(CIMException &cimExcept)
                     {
                         PEG_TRACE_STRING(
                             TRC_PROVIDERMANAGER,
                             Tracer::LEVEL4,
                             "Calling provider->initialize caused exception:"
                             +cimExcept.getMessage()
                             );
                         DDD(PEGASUS_STD(cout)
                             <<"--- JMPILocalProviderManager::_provider_ctrl:"
                               " Exception caught calling initialize!"
                               <<PEGASUS_STD(endl));
                         throw;
                     }
                     catch(Exception &except)
                     {
                         PEG_TRACE_STRING(
                             TRC_PROVIDERMANAGER,
                             Tracer::LEVEL4,
                             "Calling provider->initialize caused exception:"
                             +except.getMessage()
                             );
                         DDD(PEGASUS_STD(cout)
                             <<"--- JMPILocalProviderManager::_provider_ctrl:"
                               " Exception caught calling initialize!"
                               <<PEGASUS_STD(endl));
                         throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED,
                                                     except.getMessage());
                     }
                   catch(...)                   catch(...)
                   {                   {
                       PEG_TRACE_STRING(TRC_PROVIDERMANAGER,                       PEG_TRACE_STRING(TRC_PROVIDERMANAGER,
Line 606 
Line 634 
  
     if(first.tv_sec == 0)     if(first.tv_sec == 0)
     {     {
         Time::gettimeofday(&first);          gettimeofday(&first, NULL);
     }     }
     Time::gettimeofday(&now);      gettimeofday(&now, NULL);
  
     if (((now.tv_sec - first.tv_sec) > IDLE_LIMIT) &&     if (((now.tv_sec - first.tv_sec) > IDLE_LIMIT) &&
        ((now.tv_sec - last.tv_sec) > IDLE_LIMIT))        ((now.tv_sec - last.tv_sec) > IDLE_LIMIT))
     {     {
         Time::gettimeofday(&last);          gettimeofday(&last, NULL);
         PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL4,         PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL4,
             "Checking for Idle providers to unload.");             "Checking for Idle providers to unload.");
         try         try


Legend:
Removed from v.1.12.6.1  
changed lines
  Added in v.1.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2