3#include <boost/asio.hpp>
4#include <boost/bind.hpp>
8#include "software/networking/udp/threaded_udp_sender.h"
10template <
class SendProto>
31 const std::string& interface,
bool multicast);
55 void sendProto(
const SendProto& message,
bool async =
false);
59 std::string data_buffer;
62template <
class SendProto>
65 const std::string& interface,
71template <
class SendProto>
77template <
class SendProto>
83template <
class SendProto>
86 message.SerializeToString(&data_buffer);
87 sendString(data_buffer, async);
Definition threaded_proto_udp_sender.hpp:12
std::string getIpAddress() const
Definition threaded_proto_udp_sender.hpp:78
void sendProto(const SendProto &message, bool async=false)
Definition threaded_proto_udp_sender.hpp:84
ThreadedProtoUdpSender(const std::string &ip_address, unsigned short port, const std::string &interface, bool multicast)
Definition threaded_proto_udp_sender.hpp:63
std::string getInterface() const
Definition threaded_proto_udp_sender.hpp:72
Definition threaded_udp_sender.h:10
std::string getIpAddress() const
Definition threaded_udp_sender.cpp:31
std::string getInterface() const
Definition threaded_udp_sender.cpp:26