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