BMA Server Framework
/home/bradarant/barant/ServerCore/TLSServerSocket.h
1 #ifndef TLSServerSocket_h__
2 #define TLSServerSocket_h__
3 
4 #include "Socket.h"
5 #include "TCPServerSocket.h"
6 #include "Command.h"
7 #include "Session.h"
8 #include "IPAddress.h"
9 #include "Service.h"
10 
11 namespace core {
12 
19 
21 
22  public:
23 
32 
33  TLSServerSocket(EPoll &ePoll, Service service, IPAddress address);
34 
38 
40 
41 // SSL_CTX *ctx;
42 
43  private:
44  void tlsServerInit();
45 
46  char *sip_cacert = (char *)"/home/barant/testkeys/certs/pbxca.crt";
47  char *sip_cert = (char *)"/home/barant/testkeys/certs/pbxserver.crt";
48  char *sip_key = (char *)"/home/barant/testkeys/certs/pbxserver.key";
49 
50  };
51 
52 }
53 
54 #endif
Definition: EPoll.h:31
Service & service
Definition: TCPServerSocket.h:50
Definition: Command.cpp:4
Definition: IPAddress.h:9
Definition: Service.h:20
~TLSServerSocket()
Definition: TLSServerSocket.cpp:43
Definition: TCPServerSocket.h:23
TLSServerSocket(EPoll &ePoll, Service service, IPAddress address)
Definition: TLSServerSocket.cpp:19
Definition: TLSServerSocket.h:20