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

 1 marek 1.1 //%2004////////////////////////////////////////////////////////////////////////
 2           //
 3           // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development
 4           // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.
 5           // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
 6           // IBM Corp.; EMC Corporation, The Open Group.
 7           //
 8           // Permission is hereby granted, free of charge, to any person obtaining a copy
 9           // of this software and associated documentation files (the "Software"), to
10           // deal in the Software without restriction, including without limitation the
11           // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12           // sell copies of the Software, and to permit persons to whom the Software is
13           // furnished to do so, subject to the following conditions:
14           // 
15           // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
16           // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
17           // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
18           // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
19           // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20           // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21           // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 marek 1.1 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23           //
24           //==============================================================================
25           //
26           // Author: Marek Szermutzky (MSzermutzky@de.ibm.com) PEP#139 Stage2
27           //
28           //%/////////////////////////////////////////////////////////////////////////////
29           #ifndef Pegasus_CIMClientConnection_h
30           #define Pegasus_CIMClientConnection_h
31           
32           #include <Pegasus/Client/CIMClientRep.h>
33           #include <Pegasus/Common/String.h>
34 marek 1.2 #include <Pegasus/Client/Linkage.h>
35 marek 1.1 
36           PEGASUS_NAMESPACE_BEGIN
37           
38 marek 1.2 class PEGASUS_CLIENT_LINKAGE CIMClientConnection
39 marek 1.1 {
40           
41           public:
42           
43           	// class constructor
44           	CIMClientConnection();
45           	
46           	CIMClientConnection(const String& host, const String& port, const String& userid, const String& passwd);
47           	CIMClientConnection(const String& host, const String& port, const String& userid, const String& passwd, const SSLContext& sslcontext);
48           
49           	// virtual class destructor has to be implemented by specific implementation
50           	~CIMClientConnection();
51           
52           	Boolean equals(Uint32 ipAddress, const String& port);
53           
54           	CIMClientRep *  getConnectionHandle(void);
55           
56           	String getUser(void);
57           	String getPass(void);
58           	SSLContext* getSSLContext(void);
59           
60 marek 1.1 private:
61           	CIMClientRep *	_connectionHandle;
62           	String	_hostname;
63           	String	_port;
64           	String  _userid;
65           	String  _passwd;
66           	SSLContext *_sslcontext;
67           	
68           	Uint32  _resolvedIP;
69           };
70           
71           PEGASUS_NAMESPACE_END
72           
73           #endif  // Pegasus_CIMClientConnection_h

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2