24 #ifndef GOBY_MIDDLEWARE_IO_COBS_TCP_CLIENT_H
25 #define GOBY_MIDDLEWARE_IO_COBS_TCP_CLIENT_H
31 #include <boost/asio/read_until.hpp>
32 #include <boost/asio/streambuf.hpp>
33 #include <boost/system/error_code.hpp>
53 class TCPClientConfig;
73 bool use_indexed_groups =
false>
76 subscribe_layer, Config, ThreadType, use_indexed_groups>
79 subscribe_layer, Config, ThreadType, use_indexed_groups>;
92 template <
class Thread>
94 std::shared_ptr<const goby::middleware::protobuf::IOData> io_msg);
96 template <
class Thread,
class ThreadBase>
102 void async_write(std::shared_ptr<const goby::middleware::protobuf::IOData> io_msg)
override
108 boost::asio::streambuf buffer_;