Class UdpReceiver

Class Documentation

class UdpReceiver

Public Functions

UdpReceiver()
~UdpReceiver()
bool Init(const std::string &udp_sender, int udp_port, int udp_input_fifolength = 20, bool verbose = false, bool export_udp_msg = false, int scandataformat = 1, PayloadFifo *fifo = 0)
bool Start(void)
void Stop(bool do_join = true)
void Close(void)
inline PayloadFifo *Fifo(void)

Public Static Functions

static std::string ToHexString(const std::vector<uint8_t> &payload, size_t bytes_received)
static std::string ToPrintableString(const std::vector<uint8_t> &payload, size_t bytes_received)