1 #ifndef __TLSSession_h__
2 #define __TLSSession_h__
5 #include "TCPSession.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;
virtual void protocol(std::string data) override
Definition: TLSSession.cpp:83
virtual void output(std::stringstream &out)
Definition: TLSSession.cpp:118
Definition: TCPSession.h:24
void onRegistered()
Called after the socket has been registered with epoll processing.
Definition: TLSSession.cpp:58
std::stringstream out
Definition: TCPSession.h:48
Definition: TLSSession.h:23
Definition: TCPServer.h:24
void receiveData(char *buffer, int bufferLength) override
Definition: TLSSession.cpp:85
void onRegister()
Called before the socket has registered with the epoll processing.
Definition: TLSSession.cpp:36