![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
UDP sender. More...
#include <udp_sender_port.h>
Public Member Functions | |
UDPSenderPort (ICloseHandler &close_handler, const packet::Address &, uv_loop_t &event_loop, core::IAllocator &allocator) | |
Initialize. More... | |
~UDPSenderPort () | |
Destroy. More... | |
virtual const packet::Address & | address () const |
Get bind address. More... | |
virtual bool | open () |
Open sender. More... | |
virtual void | async_close () |
Asynchronously close sender. More... | |
virtual void | write (const packet::PacketPtr &) |
Write packet. More... | |
![]() | |
BasicPort (core::IAllocator &) | |
Initialize. More... | |
virtual | ~BasicPort () |
Destroy. 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 sender.
Definition at line 29 of file udp_sender_port.h.
roc::netio::UDPSenderPort::UDPSenderPort | ( | ICloseHandler & | close_handler, |
const packet::Address & | , | ||
uv_loop_t & | event_loop, | ||
core::IAllocator & | allocator | ||
) |
Initialize.
roc::netio::UDPSenderPort::~UDPSenderPort | ( | ) |
Destroy.
|
virtual |
Get bind address.
Implements roc::netio::BasicPort.
|
virtual |
Asynchronously close sender.
Implements roc::netio::BasicPort.
|
virtual |
Open sender.
Implements roc::netio::BasicPort.
|
virtual |