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

Diff for /pegasus/src/Pegasus/ProviderManager2/ProviderAgent/Attic/ProviderAgent.cpp between version 1.19 and 1.20

version 1.19, 2006/01/30 16:18:16 version 1.20, 2006/02/17 19:20:12
Line 329 
Line 329 
         PEG_TRACE_STRING(TRC_PROVIDERAGENT, Tracer::LEVEL2,         PEG_TRACE_STRING(TRC_PROVIDERAGENT, Tracer::LEVEL2,
             "Processed the agent initialization message.");             "Processed the agent initialization message.");
  
         // Do not write a response for this request          // Notify the cimserver that the provider agent is initialized.
           Uint32 messageLength = 0;
           _pipeToServer->writeBuffer((const char*)&messageLength, sizeof(Uint32));
     }     }
     else if (request->getType() == CIM_NOTIFY_CONFIG_CHANGE_REQUEST_MESSAGE)     else if (request->getType() == CIM_NOTIFY_CONFIG_CHANGE_REQUEST_MESSAGE)
     {     {
Line 384 
Line 386 
  
         // If StopAllProviders, terminate the agent process.         // If StopAllProviders, terminate the agent process.
         // If DisableModule not successful, leave agent process running.         // If DisableModule not successful, leave agent process running.
         if ((respMsg->cimException.getCode() == CIM_ERR_SUCCESS) ||          if ((request->getType() == CIM_STOP_ALL_PROVIDERS_REQUEST_MESSAGE) ||
             (request->getType() == CIM_STOP_ALL_PROVIDERS_REQUEST_MESSAGE))              ((request->getType() == CIM_DISABLE_MODULE_REQUEST_MESSAGE) &&
                (!dynamic_cast<CIMDisableModuleRequestMessage*>(request)->
                     disableProviderOnly) &&
                (respMsg->cimException.getCode() == CIM_ERR_SUCCESS)))
         {         {
             // Operation is successful. End the agent process.             // Operation is successful. End the agent process.
             _terminating = true;             _terminating = true;


Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2