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

Diff for /pegasus/src/Pegasus/ProviderManager2/Default/DefaultProviderManager.h between version 1.9 and 1.20.12.2

version 1.9, 2004/03/04 09:55:38 version 1.20.12.2, 2006/03/07 18:45:58
Line 1 
Line 1 
 //%2003////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.  // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
 // IBM Corp.; EMC Corporation, The Open Group. // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; Symantec Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 34 
Line 40 
 //                (carolann_graves@hp.com) //                (carolann_graves@hp.com)
 //              Mike Day, IBM (mdday@us.ibm.com) //              Mike Day, IBM (mdday@us.ibm.com)
 //              Adrian Schuur (schuur@de.ibm.com) //              Adrian Schuur (schuur@de.ibm.com)
   //              Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 46 
Line 53 
 #include <Pegasus/Common/Pair.h> #include <Pegasus/Common/Pair.h>
 #include <Pegasus/Common/Triad.h> #include <Pegasus/Common/Triad.h>
 #include <Pegasus/Common/Thread.h> #include <Pegasus/Common/Thread.h>
   #include <Pegasus/Common/IPC.h>
 #include <Pegasus/Common/HashTable.h> #include <Pegasus/Common/HashTable.h>
   #include <Pegasus/Common/OperationContextInternal.h>
  
 #include <Pegasus/ProviderManager2/ProviderManager.h> #include <Pegasus/ProviderManager2/ProviderManager.h>
 #include <Pegasus/ProviderManager2/ProviderName.h> #include <Pegasus/ProviderManager2/ProviderName.h>
Line 70 
Line 79 
     DefaultProviderManager(void);     DefaultProviderManager(void);
     virtual ~DefaultProviderManager(void);     virtual ~DefaultProviderManager(void);
  
     virtual Message * processMessage(Message * request) throw();      virtual Message * processMessage(Message * request);
  
 protected:      virtual Boolean hasActiveProviders();
     Message * handleUnsupportedRequest(const Message * message) throw();      virtual void unloadIdleProviders();
   
     Message * handleGetInstanceRequest(const Message * message) throw();  
     Message * handleEnumerateInstancesRequest(const Message * message) throw();  
     Message * handleEnumerateInstanceNamesRequest(const Message * message) throw();  
     Message * handleCreateInstanceRequest(const Message * message) throw();  
     Message * handleModifyInstanceRequest(const Message * message) throw();  
     Message * handleDeleteInstanceRequest(const Message * message) throw();  
   
     Message * handleExecQueryRequest(const Message * message) throw();  
   
     Message * handleAssociatorsRequest(const Message * message) throw();  
     Message * handleAssociatorNamesRequest(const Message * message) throw();  
     Message * handleReferencesRequest(const Message * message) throw();  
     Message * handleReferenceNamesRequest(const Message * message) throw();  
   
     Message * handleGetPropertyRequest(const Message * message) throw();  
     Message * handleSetPropertyRequest(const Message * message) throw();  
  
     Message * handleInvokeMethodRequest(const Message * message) throw();  protected:
       Message * handleUnsupportedRequest(const Message * message);
     Message * handleCreateSubscriptionRequest(const Message * message) throw();  
     Message * handleModifySubscriptionRequest(const Message * message) throw();  
     Message * handleDeleteSubscriptionRequest(const Message * message) throw();  
     Message * handleEnableIndicationsRequest(const Message * message) throw();  
     Message * handleDisableIndicationsRequest(const Message * message) throw();  
   
     Message * handleConsumeIndicationRequest(const Message * message) throw();  
     Message * handleExportIndicationRequest(const Message * message) throw();  
   
     Message * handleDisableModuleRequest(const Message * message) throw();  
     Message * handleEnableModuleRequest(const Message * message) throw();  
     Message * handleStopAllProvidersRequest(const Message * message) throw();  
  
     void _insertEntry(const Provider & provider, const EnableIndicationsResponseHandler *handler);      Message * handleGetInstanceRequest(const Message * message);
       Message * handleEnumerateInstancesRequest(const Message * message);
       Message * handleEnumerateInstanceNamesRequest(const Message * message);
       Message * handleCreateInstanceRequest(const Message * message);
       Message * handleModifyInstanceRequest(const Message * message);
       Message * handleDeleteInstanceRequest(const Message * message);
   
       Message * handleExecQueryRequest(const Message * message);
   
       Message * handleAssociatorsRequest(const Message * message);
       Message * handleAssociatorNamesRequest(const Message * message);
       Message * handleReferencesRequest(const Message * message);
       Message * handleReferenceNamesRequest(const Message * message);
   
       Message * handleGetPropertyRequest(const Message * message);
       Message * handleSetPropertyRequest(const Message * message);
   
       Message * handleInvokeMethodRequest(const Message * message);
   
       Message * handleCreateSubscriptionRequest(const Message * message);
       Message * handleModifySubscriptionRequest(const Message * message);
       Message * handleDeleteSubscriptionRequest(const Message * message);
   
       Message * handleExportIndicationRequest(const Message * message);
   
       Message * handleDisableModuleRequest(const Message * message);
       Message * handleEnableModuleRequest(const Message * message);
       Message * handleStopAllProvidersRequest(const Message * message);
       Message * handleInitializeProviderRequest(const Message * message);
       Message * handleSubscriptionInitCompleteRequest
           (const Message * message);
   
       void _insertEntry(
           const Provider & provider,
           EnableIndicationsResponseHandler* handler);
     EnableIndicationsResponseHandler * _removeEntry(const String & key);     EnableIndicationsResponseHandler * _removeEntry(const String & key);
  
     String _generateKey(const Provider & provider);     String _generateKey(const Provider & provider);
     String _generateKey(const String & providerName,const String & providerFileName);     String _generateKey(const String & providerName,const String & providerFileName);
  
     ProviderName _resolveProviderName(const ProviderName & providerName);      ProviderName _resolveProviderName(const ProviderIdContainer & providerId);
     ProviderName _resolveProviderName(String & destinationPath);  
  
 protected: protected:
     IndicationResponseTable _responseTable;     IndicationResponseTable _responseTable;
       Mutex _responseTableMutex;
       LocalProviderManager providerManager;
   
   private:
  
       /**
           Calls the provider's enableIndications() method.
           If successful, the indications response handler is stored in the
           _responseTable.
   
           @param  req_provider  CIMInstance for the provider to be enabled
           @param  _indicationCallback  PEGASUS_INDICATION_CALLBACK_T for
               indications
           @param  ph  OpProviderHolder for the provider to be enabled
   
           Note that since an exception thrown by the provider's
           enableIndications() method is considered a provider error, any such
           exception is ignored, and no exceptions are thrown by this method.
        */
       void _callEnableIndications
           (CIMInstance & req_provider,
            PEGASUS_INDICATION_CALLBACK_T _indicationCallback,
            OpProviderHolder & ph);
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.20.12.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2