71 bool connect(
const std::string& ip,
int port);
92 void on_connection_close();
94 std::unique_ptr<Reactor> reactor_;
95 std::unique_ptr<ThreadPool> worker_pool_;
96 std::unique_ptr<TimingWheel> timing_wheel_;
98 std::shared_ptr<Connection> connection_;
99 std::shared_ptr<Session> session_;
101 std::thread reactor_thread_;