/home/barant/Development/BMA/server_core/ServerCore/BMATLSSession.h
#ifndef __BMATLSSession_h__
#define __BMATLSSession_h__
#include "includes"
#include "BMASession.h"
#include "BMATLSServerSocket.h"
#include <openssl/ssl.h>
class BMATLSServerSocket;
class BMATLSSession : public BMASession {
public:
BMATLSSession(BMAEPoll &ePoll, BMATLSServerSocket &server);
~BMATLSSession();
virtual void output(std::stringstream &out);
virtual void protocol(std::string data) override;
protected:
void init() override;
void receiveData(char *buffer, int bufferLength) override;
private:
bool initialized = false;
BMATLSServerSocket &server;
SSL *ssl;
};
#endif
BMATLSServerSocket
Definition: BMATLSServerSocket.h:21
BMATLSSession::receiveData
void receiveData(char *buffer, int bufferLength) override
Definition: BMATLSSession.cpp:84
BMAEPoll
Definition: BMAEPoll.h:29
BMATLSSession
Definition: BMATLSSession.h:21
BMASession
Definition: BMASession.h:18
BMATLSSession::output
virtual void output(std::stringstream &out)
Definition: BMATLSSession.cpp:143