Paul Zinselmeyer
ba8e969470
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 30s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 10s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
27 lines
439 B
C++
27 lines
439 B
C++
#ifndef SESSION_H
|
|
#define SESSION_H
|
|
|
|
#include "AbstractNetworkOps.h"
|
|
|
|
using namespace std;
|
|
|
|
class Session : public AbstractNetworkOps {
|
|
|
|
typedef boost::asio::ssl::stream<boost::asio::ip::tcp::socket> ssl_socket;
|
|
|
|
public:
|
|
Session(boost::asio::io_service& io_service, boost::asio::ssl::context& context);
|
|
virtual ~Session();
|
|
void start();
|
|
void handle_handshake(const boost::system::error_code& error);
|
|
|
|
};
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|