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

Diff for /pegasus/src/Pegasus/ProviderManager/Attic/ProviderFacade.cpp between version 1.30 and 1.31

version 1.30, 2003/10/22 14:26:12 version 1.31, 2003/10/22 20:58:53
Line 44 
Line 44 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   PEGASUS_USING_STD;
   
 class op_counter class op_counter
 { {
    public:    public:
Line 518 
Line 520 
  
 void ProviderFacade::enableIndications(IndicationResponseHandler & handler) void ProviderFacade::enableIndications(IndicationResponseHandler & handler)
 { {
    _current_operations++;     _indications_enabled = true;
    op_counter ind_ops(&_current_ind_operations);     op_counter ops(&_current_operations);
  
     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);
  
Line 529 
Line 531 
  
 void ProviderFacade::disableIndications(void) void ProviderFacade::disableIndications(void)
 { {
       op_counter ops(&_current_operations);
     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);     CIMIndicationProvider * provider = getInterface<CIMIndicationProvider>(_provider);
  
     // forward request     // forward request
     provider->disableIndications();     provider->disableIndications();
     _current_operations--;     _indications_enabled = false;
 } }
  
 void ProviderFacade::createSubscription( void ProviderFacade::createSubscription(
Line 544 
Line 547 
     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 564 
Line 566 
     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 582 
Line 583 
     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


Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2