#pragma once #include "Socket/TCPSocket.hpp" #include "Utils/Snowflake.hpp" #include namespace Chattr { class Session { public: Session(); ~Session(); bool init(); void destruct(); int send(); int recv(); Session(const Session&) = delete; Session& operator=(Session&) = delete; private: Chattr::TCPSocket sock_; struct Snowflake sessId_; }; }