blob: e7b80a61c506385296059dfd54d5660bcbf71526 [file] [log] [blame]
Parker Schuhb59bf5e2016-12-28 21:09:36 -08001#ifndef _AOS_VISION_DEBUG_TCP_SERVER_H_
2#define _AOS_VISION_DEBUG_TCP_SERVER_H_
3
4#include "aos/vision/events/epoll_events.h"
5
6#include <memory>
7
8namespace aos {
9namespace events {
10
11// Handles the client connection logic to hostname:portno
12class TcpClient : public EpollEvent {
13 public:
14 TcpClient(const char *hostname, int portno);
15
16 // Implement ReadEvent from EpollEvent to use this class.
17};
18
19} // namespace events
20} // namespace aos
21
22#endif // _AOS_VISION_DEBUG_TCP_SERVER_H_