(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.118.2.7 and 1.118.2.8

version 1.118.2.7, 2008/07/15 08:10:36 version 1.118.2.8, 2008/07/17 11:57:00
Line 2731 
Line 2731 
  
     PEGASUS_ASSERT(request != 0);     PEGASUS_ASSERT(request != 0);
  
       //Set to false when provider refused to unload due to pending operations.
       Boolean disableModuleOk = true;
   
     // get provider module name     // get provider module name
     Boolean disableProviderOnly = request->disableProviderOnly;     Boolean disableProviderOnly = request->disableProviderOnly;
  
     Array<Uint16> operationalStatus;  
     // Assume success.  
     operationalStatus.append(CIM_MSE_OPSTATUS_VALUE_STOPPED);  
   
     //     //
     // Unload providers     // Unload providers
     //     //
Line 2762 
Line 2761 
         {         {
             continue;             continue;
         }         }
   
           Boolean unloadOk = providerManager.unloadProvider(
               physicalName,
               _pInstances[i].getProperty(_pInstances[i].findProperty("Name")).
                   getValue ().toString ());
   
           if (!unloadOk)
           {
               disableModuleOk = false;
               continue;
           }
         //         //
         //  Reset the indication provider's count of current         //  Reset the indication provider's count of current
         //  subscriptions since it has been disabled         //  subscriptions since it has been disabled
Line 2785 
Line 2795 
                 }                 }
             }             }
         }         }
         providerManager.unloadProvider(      }
             physicalName,  
             _pInstances[i].getProperty(      Array<Uint16> operationalStatus;
             _pInstances[i].findProperty("Name")  
             ).getValue ().toString ());      if (disableModuleOk)
       {
           operationalStatus.append(CIM_MSE_OPSTATUS_VALUE_STOPPED);
       }
       else
       {
           operationalStatus.append(CIM_MSE_OPSTATUS_VALUE_OK);
     }     }
  
     CIMDisableModuleResponseMessage * response =     CIMDisableModuleResponseMessage * response =


Legend:
Removed from v.1.118.2.7  
changed lines
  Added in v.1.118.2.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2