3#include <boost/asio.hpp>
4#include <boost/bind.hpp>
7#include "software/networking/unix/threaded_unix_sender.h"
9template <
class SendProto>
19 const std::shared_ptr<ProtoLogger>& proto_logger =
nullptr)
33 std::string data_buffer;
35 std::shared_ptr<ProtoLogger> proto_logger;
38template <
class SendProtoT>
41 message.SerializeToString(&data_buffer);
42 sendString(data_buffer);
46 proto_logger->saveSerializedProto<SendProtoT>(data_buffer);
Definition threaded_proto_unix_sender.hpp:11
void sendProto(const SendProto &message)
Definition threaded_proto_unix_sender.hpp:39
ThreadedProtoUnixSender(const std::string &unix_path, const std::shared_ptr< ProtoLogger > &proto_logger=nullptr)
Definition threaded_proto_unix_sender.hpp:18
Definition threaded_unix_sender.h:10