Public Member Functions | Private Member Functions | Private Attributes
udp_bc_broker::UdpRecver Class Reference

#include <recv.h>

List of all members.

Public Member Functions

void receive (boost::function< void(const vector< uint8_t > &)> callBack)
 UdpRecver (int port)
 ~UdpRecver ()

Private Member Functions

void process_msg ()

Private Attributes

struct sockaddr_in addrto
char * buf
boost::function< void(const
vector< uint8_t > &)> 
callback
struct sockaddr_in from
int len
int nlen
boost::thread * process_thread_
int sock

Detailed Description

Definition at line 44 of file recv.h.


Constructor & Destructor Documentation

Definition at line 29 of file recv.cpp.

Definition at line 68 of file recv.cpp.


Member Function Documentation

Definition at line 77 of file recv.cpp.

void udp_bc_broker::UdpRecver::receive ( boost::function< void(const vector< uint8_t > &)>  callBack)

Definition at line 95 of file recv.cpp.


Member Data Documentation

struct sockaddr_in udp_bc_broker::UdpRecver::addrto [private]

Definition at line 53 of file recv.h.

Definition at line 57 of file recv.h.

boost::function<void(const vector<uint8_t>&)> udp_bc_broker::UdpRecver::callback [private]

Definition at line 51 of file recv.h.

struct sockaddr_in udp_bc_broker::UdpRecver::from [private]

Definition at line 54 of file recv.h.

Definition at line 56 of file recv.h.

Definition at line 55 of file recv.h.

Definition at line 58 of file recv.h.

Definition at line 52 of file recv.h.


The documentation for this class was generated from the following files:


udp_bc_broker
Author(s):
autogenerated on Thu Jun 6 2019 18:52:50