#pragma once #include "config/config.hpp" #include "Pollable.hpp" #include #include #include class Server: public Pollable { private: int _socket; Config const& _config; void log(std::string message); public: Server(Config const& config); ~Server(); void receive(std::vector& pollables); void disconnect(); int get_fd() const; Config const& get_config() const; };