sipxportlib  Version 3.3
OsTLSServerConnectionSocket.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2004-2006 SIPfoundry Inc.
3 // Licensed by SIPfoundry under the LGPL license.
4 //
5 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
6 // Licensed to SIPfoundry under a Contributor Agreement.
7 //
8 // $$
10 
11 
12 #ifndef _OsTLSServerConnectionSocket_h_
13 #define _OsTLSServerConnectionSocket_h_
14 
15 #ifdef SIP_TLS
16 #ifdef SIP_TLS_NSS
17 
18 // SYSTEM INCLUDES
19 #include <prio.h>
20 
21 // APPLICATION INCLUDES
23 
24 // DEFINES
25 // MACROS
26 // EXTERNAL FUNCTIONS
27 // EXTERNAL VARIABLES
28 // CONSTANTS
29 // STRUCTS
30 // TYPEDEFS
31 // FORWARD DECLARATIONS
32 
34 class OsTLSServerConnectionSocket : public OsTLSConnectionSocket
35 {
36 /* //////////////////////////// PUBLIC //////////////////////////////////// */
37 public:
38 
39 /* ============================ CREATORS ================================== */
40 
41  OsTLSServerConnectionSocket(int socketDescriptor,
42  const UtlString certNickname,
43  const UtlString password,
44  const UtlString dbLocation,
45  long timeoutInSecs = 0);
46 
47  virtual
48  ~OsTLSServerConnectionSocket();
49  //:Destructor
50 
51  bool mbInitializeFailed;
52 
53 /* ============================ MANIPULATORS ============================== */
54 
55 
56 /* ============================ ACCESSORS ================================= */
57 
58 
59 /* ============================ INQUIRY =================================== */
60 
61 /* //////////////////////////// PROTECTED ///////////////////////////////// */
62 protected:
63  void NSSInitSocket(PRFileDesc* pDesc, long timeoutInSecs, const char* szPassword);
64  void NSSInitSocket(int socketDescriptor, long timeoutInSecs, const char* szPassword);
65 
66 /* //////////////////////////// PRIVATE /////////////////////////////////// */
67 private:
68 
69 
70  OsTLSServerConnectionSocket(const OsTLSServerConnectionSocket& rOsTLSServerConnectionSocket);
71  //:Disable copy constructor
72 
73  OsTLSServerConnectionSocket();
74  //:Disable default constructor
75 
76  OsTLSServerConnectionSocket& operator=(const OsTLSServerConnectionSocket& rhs);
77  //:Assignment operator
78 
79 
80 
81 
82 };
83 
84 /* ============================ INLINE METHODS ============================ */
85 
86 #endif // SIP_TLS
87 #endif // SIP_TLS_NSS
88 
89 #endif // _OsTLSServerConnectionSocket_h_
90 
Definition: UtlString.h:48