(file) Return to CIMClientConnectionManager.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ManagedClient

 1 martin 1.9 //%LICENSE////////////////////////////////////////////////////////////////
 2 martin 1.10 //
 3 martin 1.9  // Licensed to The Open Group (TOG) under one or more contributor license
 4             // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
 5             // this work for additional information regarding copyright ownership.
 6             // Each contributor licenses this file to you under the OpenPegasus Open
 7             // Source License; you may not use this file except in compliance with the
 8             // License.
 9 martin 1.10 //
10 martin 1.9  // Permission is hereby granted, free of charge, to any person obtaining a
11             // copy of this software and associated documentation files (the "Software"),
12             // to deal in the Software without restriction, including without limitation
13             // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14             // and/or sell copies of the Software, and to permit persons to whom the
15             // Software is furnished to do so, subject to the following conditions:
16 martin 1.10 //
17 martin 1.9  // The above copyright notice and this permission notice shall be included
18             // in all copies or substantial portions of the Software.
19 martin 1.10 //
20 martin 1.9  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 martin 1.10 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 martin 1.9  // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23             // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24             // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25             // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26             // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 martin 1.10 //
28 martin 1.9  //////////////////////////////////////////////////////////////////////////
29 a.arora 1.3  //
30              //%/////////////////////////////////////////////////////////////////////////////
31              #ifndef Pegasus_CIMClientConnectionManager_h
32              #define Pegasus_CIMClientConnectionManager_h
33              
34 marek   1.8  // get platform specific definitions
35              #include <Pegasus/Common/Config.h>
36              // for usage of class String out of Pegasus/Common
37              #include <Pegasus/Common/String.h>
38 a.arora 1.3  #include <Pegasus/Client/CIMClientRep.h>
39              #include <Pegasus/Client/Linkage.h>
40 dave.sudlik 1.7  #include <Pegasus/Common/HostLocator.h>
41 a.arora     1.3  
42                  PEGASUS_NAMESPACE_BEGIN
43                  
44                  class PEGASUS_CLIENT_LINKAGE CIMClientConnectionManager
45                  {
46                  
47                  public:
48                  
49 marek       1.8      // class constructor
50                      CIMClientConnectionManager() { };
51 kumpf       1.11 
52 marek       1.8      /** virtual class destructor
53                          to be implemented by specific implementation
54                      */
55                      virtual ~CIMClientConnectionManager() { };
56                  
57                      /** this function shall return the specified connection
58                         (task of specific ClientConnectionManager)
59                         of no connection is found, return NULL
60                      */
61                      virtual CIMClientRep* getConnection(
62                                                  const String& host,
63                                                  const String& port,
64                                                  const CIMNamespaceName& nameSpace) = 0;
65 a.arora     1.3  
66                  };
67                  
68                  PEGASUS_NAMESPACE_END
69                  
70                  #endif  // Pegasus_CIMClientConnectionManager_h

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2