![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
UDP receiver. More...
#include <udp_receiver_port.h>
Public Member Functions | |
UDPReceiverPort (ICloseHandler &close_handler, const packet::Address &, uv_loop_t &event_loop, packet::IWriter &writer, packet::PacketPool &packet_pool, core::BufferPool< uint8_t > &buffer_pool, core::IAllocator &allocator) | |
Initialize. More... | |
~UDPReceiverPort () | |
Destroy. More... | |
virtual const packet::Address & | address () const |
Get bind address. More... | |
virtual bool | open () |
Open receiver. More... | |
virtual void | async_close () |
Asynchronously close receiver. More... | |
![]() | |
BasicPort (core::IAllocator &) | |
Initialize. More... | |
virtual | ~BasicPort () |
Destroy. More... | |
virtual const packet::Address & | address () const =0 |
Get bind address. More... | |
virtual bool | open ()=0 |
Open port. More... | |
virtual void | async_close ()=0 |
Asynchronous close. More... | |
![]() | |
long | getref () const |
Get reference counter. More... | |
void | incref () const |
Increment reference counter. More... | |
void | decref () const |
Decrement reference counter. More... | |
![]() | |
ListNodeData * | list_node_data () const |
Get list node data. More... | |
UDP receiver.
Definition at line 32 of file udp_receiver_port.h.
roc::netio::UDPReceiverPort::UDPReceiverPort | ( | ICloseHandler & | close_handler, |
const packet::Address & | , | ||
uv_loop_t & | event_loop, | ||
packet::IWriter & | writer, | ||
packet::PacketPool & | packet_pool, | ||
core::BufferPool< uint8_t > & | buffer_pool, | ||
core::IAllocator & | allocator | ||
) |
Initialize.
roc::netio::UDPReceiverPort::~UDPReceiverPort | ( | ) |
Destroy.
|
virtual |
Get bind address.
Implements roc::netio::BasicPort.
|
virtual |
Asynchronously close receiver.
Implements roc::netio::BasicPort.
|
virtual |
Open receiver.
Implements roc::netio::BasicPort.