#pragma once #include "fd_event.hpp" namespace tinyrpc { class TcpConnection { public: TcpConnection(int fd) : m_fdEvent(fd){}; ~TcpConnection(); private: FdEvent m_fdEvent; // TODO .... 完善 TcpConnection 类 }; }