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

Diff for /pegasus/src/Pegasus/ProviderManager2/Attic/ProviderManagerService.h between version 1.31.2.2 and 1.37

version 1.31.2.2, 2006/05/23 18:23:40 version 1.37, 2006/08/04 19:05:59
Line 52 
Line 52 
 #include <Pegasus/Common/CIMMessage.h> #include <Pegasus/Common/CIMMessage.h>
 #include <Pegasus/Common/OperationContextInternal.h> #include <Pegasus/Common/OperationContextInternal.h>
 #include <Pegasus/Common/AutoPtr.h> #include <Pegasus/Common/AutoPtr.h>
   #include <Pegasus/Common/List.h>
   #include <Pegasus/Common/Mutex.h>
 #include <Pegasus/Repository/CIMRepository.h> #include <Pegasus/Repository/CIMRepository.h>
 #include <Pegasus/Server/ProviderRegistrationManager/ProviderRegistrationManager.h> #include <Pegasus/Server/ProviderRegistrationManager/ProviderRegistrationManager.h>
  
 #include <Pegasus/ProviderManager2/SafeQueue.h>  
 #include <Pegasus/ProviderManager2/ProviderManagerRouter.h> #include <Pegasus/ProviderManager2/ProviderManagerRouter.h>
  
 #include <Pegasus/ProviderManager2/Linkage.h> #include <Pegasus/ProviderManager2/Linkage.h>
  
   #ifdef PEGASUS_ZOS_SECURITY
   // This include file will not be provided in the OpenGroup CVS for now.
   // Do NOT try to include it in your compile
   #include <Pegasus/ProviderManager2/ProviderManagerzOS_inline.h>
   #endif
   
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 #define IDLE_LIMIT 300 #define IDLE_LIMIT 300
Line 69 
Line 76 
 public: public:
     ProviderManagerService(     ProviderManagerService(
         ProviderRegistrationManager* providerRegistrationManager,         ProviderRegistrationManager* providerRegistrationManager,
         CIMRepository* repository);          CIMRepository* repository,
           ProviderManager* (*createDefaultProviderManagerCallback)());
  
     virtual ~ProviderManagerService();     virtual ~ProviderManagerService();
  
Line 114 
Line 122 
  
     CIMRepository* _repository;     CIMRepository* _repository;
  
     SafeQueue<AsyncOpNode *> _incomingQueue;      List<AsyncOpNode,Mutex> _incomingQueue;
     SafeQueue<AsyncOpNode *> _outgoingQueue;      List<AsyncOpNode,Mutex> _outgoingQueue;
  
     ProviderManagerRouter* _basicProviderManagerRouter;     ProviderManagerRouter* _basicProviderManagerRouter;
     ProviderManagerRouter* _oopProviderManagerRouter;     ProviderManagerRouter* _oopProviderManagerRouter;
Line 134 
Line 142 
  
 }; };
  
   // Auto class to encapsulate enabling and disabling
   // of the pthread_security on z/OS
   // For all other platforms this should be an empty class
   // Targets: avoid ifdefs and keep code readable(clean)
   #ifndef PEGASUS_ZOS_THREADLEVEL_SECURITY
   // not z/OS == empty class
   class PEGASUS_PPM_LINKAGE AutoPThreadSecurity
   {
   public:
       AutoPThreadSecurity(const OperationContext& context) {};
   };
   #else
   
   class PEGASUS_PPM_LINKAGE AutoPThreadSecurity
   {
   public:
       AutoPThreadSecurity(const OperationContext& context)
       {
                   int err_num=enablePThreadSecurity(context);
                   if (err_num!=0)
                   {
                           // need a new CIMException for this
                           throw CIMException(CIM_ERR_ACCESS_DENIED,String(strerror(err_num)));
                   }
       };
   
       ~AutoPThreadSecurity()
       {
           disablePThreadSecurity();
       };
   };
   
   #endif
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  
 #endif #endif


Legend:
Removed from v.1.31.2.2  
changed lines
  Added in v.1.37

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2