#include "network_connection.hpp" NetworkConnection::NetworkConnection(int8_t connection_id) noexcept : _id(connection_id), _is_closed(false) { } auto NetworkConnection::id() const noexcept -> int8_t { return _id; } auto NetworkConnection::is_closed() const noexcept -> bool { return _is_closed; } void NetworkConnection::set_is_closed(bool is_closed) noexcept { _is_closed = is_closed; }