#pragma once #include class NetworkConnection { public: explicit NetworkConnection(int8_t connection_id) noexcept; auto id() const noexcept -> int8_t; auto is_closed() const noexcept -> bool; void set_is_closed(bool is_closed) noexcept; private: const int8_t _id; bool _is_closed; };