Receiver

struct Receiver : public roq::io::Receiver

Public Functions

inline virtual ~Receiver()
virtual void add_membership(NetworkAddress const &multicast_address, NetworkAddress const &local_interface) = 0
virtual void drop_membership(NetworkAddress const &multicast_address, NetworkAddress const &local_interface) = 0
virtual size_t bytes_available_for_reading() = 0
struct Error

Public Members

int what = {}
struct Handler

Public Functions

virtual void operator()(Read const&) = 0
virtual void operator()(Error const&) = 0
struct Read

Public Members

Receiver &receiver