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

Diff for /pegasus/src/Pegasus/ProviderManager2/Default/Attic/ProviderFacade.cpp between version 1.2 and 1.3

version 1.2, 2003/10/14 22:31:46 version 1.3, 2003/10/16 23:15:47
Line 29 
Line 29 
 //              Sushma Fernandes, Hewlett-Packard Company //              Sushma Fernandes, Hewlett-Packard Company
 //                  (sushma_fernandes@hp.com) //                  (sushma_fernandes@hp.com)
 //              Mike Day, IBM (mdday@us.ibm.com) //              Mike Day, IBM (mdday@us.ibm.com)
   //              Yi Zhou, Hewlett-Packard Company (yi_zhou@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 36 
Line 37 
  
 #include <Pegasus/Common/InternalException.h> #include <Pegasus/Common/InternalException.h>
 #include <Pegasus/Common/Destroyer.h> #include <Pegasus/Common/Destroyer.h>
 #include <Pegasus/Common/MessageLoader.h> //l10n  #include <Pegasus/Common/MessageLoader.h>
  
 #include <Pegasus/ProviderManager2/Default/SimpleResponseHandler.h> #include <Pegasus/ProviderManager2/Default/SimpleResponseHandler.h>
  
Line 517 
Line 518 
 void ProviderFacade::enableIndications(IndicationResponseHandler & handler) void ProviderFacade::enableIndications(IndicationResponseHandler & handler)
 { {
     _current_operations++;     _current_operations++;
       op_counter ind_ops(&_current_ind_operations);
  
     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);
  
Line 541 
Line 543 
     const Uint16 repeatNotificationPolicy)     const Uint16 repeatNotificationPolicy)
 { {
     op_counter ops(&_current_operations);     op_counter ops(&_current_operations);
       op_counter ind_ops(&_current_ind_operations);
     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);
  
     // forward request     // forward request
Line 560 
Line 563 
     const Uint16 repeatNotificationPolicy)     const Uint16 repeatNotificationPolicy)
 { {
     op_counter ops(&_current_operations);     op_counter ops(&_current_operations);
       op_counter ind_ops(&_current_ind_operations);
     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);
  
     // forward request     // forward request
Line 577 
Line 581 
     const Array<CIMObjectPath> & classNames)     const Array<CIMObjectPath> & classNames)
 { {
     op_counter ops(&_current_operations);     op_counter ops(&_current_operations);
   
       op_counter ind_ops(&_current_ind_operations);
   
     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);
  
     // forward request     // forward request
Line 586 
Line 593 
         classNames);         classNames);
 } }
  
 // CIMIndicationConsumer interface  // CIMIndicationConsumerProvider interface
 void ProviderFacade::consumeIndication( void ProviderFacade::consumeIndication(
     const OperationContext & context,     const OperationContext & context,
     const String & url,      const String & destinationPath,
     const CIMInstance& indicationInstance)      const CIMInstance & indication)
 { {
     /*  
     op_counter ops(&_current_operations);     op_counter ops(&_current_operations);
  
     CIMIndicationConsumer * provider = getInterface<CIMIndicationConsumer>(_provider);      CIMIndicationConsumerProvider * provider = getInterface<CIMIndicationConsumerProvider>(_provider);
  
     // handler should be unused      provider->consumeIndication(
     provider->handleIndication(  
        context,        context,
        indication,          destinationPath,
        handler);          indication);
     */  
 } }
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2