Go to the documentation of this file. 1 #ifndef __TLSSession_h__
2 #define __TLSSession_h__
7 #include <openssl/ssl.h>
37 virtual void output(std::stringstream &
out);
38 virtual void protocol(std::string data)
override;
41 void receiveData(
char *buffer,
int bufferLength)
override;
46 bool initialized =
false;
void onRegister()
Called before the socket has registered with the epoll processing.
Definition: TLSSession.cpp:36
EPoll & ePoll
Definition: Socket.h:117
void onRegistered()
Called after the socket has been registered with epoll processing.
Definition: TLSSession.cpp:58
Definition: TCPServer.h:24
void receiveData(char *buffer, int bufferLength) override
Definition: TLSSession.cpp:85
~TLSSession()
Definition: TLSSession.cpp:81
Definition: TLSSession.h:23
virtual void output(std::stringstream &out)
Definition: TLSSession.cpp:118
Definition: TCPSession.h:25
Definition: Command.cpp:5
TLSSession(EPoll &ePoll, TCPServer &server)
Definition: TLSSession.cpp:34
std::stringstream out
Definition: TCPSession.h:49
virtual void protocol(std::string data) override
Definition: TLSSession.cpp:83
TCPServer & server
Definition: TCPSession.h:83