#include "session.h" Session::Session() { } bool Session::clientDisconnected() const { return client.expired(); } std::shared_ptr Session::makeSharedClient() const { return client.lock(); } void Session::assignActiveConnection(std::shared_ptr &client) { this->client = client; }