blob: 7ce01f76f77ca5a06bf6c4742d6851f726a7171a [file] [log] [blame]
#ifndef _AOS_VISION_DEBUG_TCP_CLIENT_H_
#define _AOS_VISION_DEBUG_TCP_CLIENT_H_
#include "aos/vision/events/epoll_events.h"
#include <memory>
namespace aos {
namespace events {
// Handles the client connection logic to hostname:portno
class TcpClient : public EpollEvent {
public:
TcpClient(const char *hostname, int portno);
// Implement ReadEvent from EpollEvent to use this class.
};
} // namespace events
} // namespace aos
#endif // _AOS_VISION_DEBUG_TCP_CLIENT_H_