BMA Server Framework
/home/barant/Development/BMA/server_core/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  protected:
44  Session * getSocketAccept() override;
45 
46  private:
47  void tlsServerInit();
48 
49  char *sip_cacert = (char *)"/home/barant/testkeys/certs/pbxca.crt";
50  char *sip_cert = (char *)"/home/barant/testkeys/certs/pbxserver.crt";
51  char *sip_key = (char *)"/home/barant/testkeys/certs/pbxserver.key";
52 
53  };
54 
55 }
56 
57 #endif
Definition: EPoll.h:31
Definition: Command.cpp:4
Definition: Session.h:22
Definition: IPAddress.h:9
Definition: Service.h:20
~TLSServerSocket()
Definition: TLSServerSocket.cpp:43
Session * getSocketAccept() override
Definition: TLSServerSocket.cpp:62
Definition: TCPServerSocket.h:22
TLSServerSocket(EPoll &ePoll, Service service, IPAddress address)
Definition: TLSServerSocket.cpp:19
Definition: TLSServerSocket.h:20