blob: 8aab2ccdb6121eb2a4fb31a32380d84f2fe6a07a [file] [log] [blame]
#ifndef _AOS_VISION_DEBUG_TCP_CLIENT_H_
#define _AOS_VISION_DEBUG_TCP_CLIENT_H_
#include <memory>
#include <string>
#include "aos/vision/events/epoll_events.h"
namespace aos {
namespace 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 events
} // namespace aos
#endif // _AOS_VISION_DEBUG_TCP_CLIENT_H_