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