blob: 7ce01f76f77ca5a06bf6c4742d6851f726a7171a [file] [log] [blame]
Parker Schuhd7db83d2017-02-08 20:49:15 -08001#ifndef _AOS_VISION_DEBUG_TCP_CLIENT_H_
2#define _AOS_VISION_DEBUG_TCP_CLIENT_H_
Parker Schuhb59bf5e2016-12-28 21:09:36 -08003
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
Parker Schuhd7db83d2017-02-08 20:49:15 -080022#endif // _AOS_VISION_DEBUG_TCP_CLIENT_H_