(file) Return to CMPIProvider.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / CMPI

Diff for /pegasus/src/Pegasus/ProviderManager2/CMPI/CMPIProvider.h between version 1.22 and 1.23

version 1.22, 2007/09/10 08:56:32 version 1.23, 2008/06/25 06:21:06
Line 178 
Line 178 
  
     //  typedef CMPIProviderFacade Base;     //  typedef CMPIProviderFacade Base;
  
       CMPIProvider(
           const String & name,
           CMPIProviderModule *module,
           ProviderVector *mv);
   
     virtual ~CMPIProvider();     virtual ~CMPIProvider();
  
     virtual void initialize(CIMOMHandle & cimom);     virtual void initialize(CIMOMHandle & cimom);
Line 192 
Line 197 
  
     Status getStatus();     Status getStatus();
     String getName() const;     String getName() const;
       String getNameWithType() const;
  
     void reset();     void reset();
  
Line 312 
Line 318 
      */      */
     CIMInstance getProviderInstance ();     CIMInstance getProviderInstance ();
  
       void incCurrentOperations();
       void decCurrentOperations();
       int getCurrentOperations();
   
       CIMOMHandle *getCIMOMHandle();
       CMPI_Broker *getBroker();
   
       CMPIInstanceMI *getInstMI();
       CMPIMethodMI *getMethMI();
       CMPIAssociationMI *getAssocMI();
       CMPIPropertyMI *getPropMI();
       CMPIIndicationMI *getIndMI();
   
       CMPIProviderModule *getModule();
       Uint32 getQuantum();
       void setQuantum(Uint32 quantum);
       Mutex &getStatusMutex();
   
       void set(
           CMPIProviderModule *&module,
           ProviderVector base,
           CIMOMHandle *&cimomHandle);
   
 protected: protected:
     String _location;     String _location;
     Status _status;     Status _status;
     CMPIProviderModule *_module;     CMPIProviderModule *_module;
     ProviderVector miVector;      ProviderVector _miVector;
     CMPI_Broker broker;      CMPI_Broker _broker;
     CMPIrc unloadStatus;     CMPIrc unloadStatus;
  
 private: private:
     virtual void _terminate(Boolean term);     virtual void _terminate(Boolean term);
     CMPIProvider(  
         const String & name,  
         CMPIProviderModule *module,  
         ProviderVector *mv);  
  
     static void initialize(     static void initialize(
         CIMOMHandle & cimom,         CIMOMHandle & cimom,
Line 341 
Line 366 
      */      */
     void waitUntilThreadsDone();     void waitUntilThreadsDone();
  
     void set(  
         CMPIProviderModule *&module,  
         ProviderVector base,  
         CIMOMHandle *&cimomHandle);  
   
     friend class CMPILocalProviderManager;  
     friend class CMPIProviderManager;  
     class OpProviderHolder;     class OpProviderHolder;
     friend class OpProviderHolder;  
     CIMOMHandle *_cimom_handle;     CIMOMHandle *_cimom_handle;
     String _name;     String _name;
     AtomicInt _no_unload;     AtomicInt _no_unload;
Line 396 
Line 413 
         generated the indication accepted a matching subscription.         generated the indication accepted a matching subscription.
      */      */
     CIMInstance _providerInstance;     CIMInstance _providerInstance;
 //};  };
  
  
 // //
Line 429 
Line 446 
         {         {
             return(*_provider);             return(*_provider);
         }         }
   
         OpProviderHolder& operator=( const OpProviderHolder& x )         OpProviderHolder& operator=( const OpProviderHolder& x )
         {         {
             if (this == &x)             if (this == &x)
           {
                 return(*this);                 return(*this);
           }
             SetProvider( x._provider );             SetProvider( x._provider );
             return(*this);             return(*this);
         }         }
Line 447 
Line 465 
             if (p)             if (p)
             {             {
                 _provider = p;                 _provider = p;
                 _provider->_current_operations++;              _provider->incCurrentOperations();
             }             }
             PEG_METHOD_EXIT();             PEG_METHOD_EXIT();
         }         }
Line 459 
Line 477 
                 "OpProviderHolder::UnSetProvider()");                 "OpProviderHolder::UnSetProvider()");
             if (_provider)             if (_provider)
             {             {
                 _provider->_current_operations--;              _provider->decCurrentOperations();
                 _provider = NULL;                 _provider = NULL;
             }             }
             PEG_METHOD_EXIT();             PEG_METHOD_EXIT();
         }         }
     };     };
 };  
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  


Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2