24 typedef uint16_t be16_t;
25 typedef uint32_t be32_t;
28 TcpStream(
const char *address, uint16_t port, uint32_t timeout_usec,
29 bool auto_reconnect =
true);
34 virtual size_t read(uint8_t *buffer,
size_t max_length);
35 virtual size_t write(
const uint8_t *data,
size_t length);
39 bool Readable(uint32_t timeout_us);
44 be16_t peer_port_ = 0;
45 be32_t peer_addr_ = 0;
46 uint32_t timeout_usec_ = 0;
49 bool auto_reconnect_ =
false;
Definition: tcp_stream.h:23
virtual bool Disconnect()
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
virtual size_t read(uint8_t *buffer, size_t max_length)
virtual size_t write(const uint8_t *data, size_t length)