|
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... | |
Public Member Functions inherited from roc::netio::BasicPort | |
| 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... | |
Public Member Functions inherited from roc::core::RefCnt< BasicPort > | |
| long | getref () const |
| Get reference counter. More... | |
| void | incref () const |
| Increment reference counter. More... | |
| void | decref () const |
| Decrement reference counter. More... | |
Public Member Functions inherited from roc::core::ListNode | |
| ListNodeData * | list_node_data () const |
| Get list node data. More... | |
| virtual void | write (const PacketPtr &)=0 |
| Write packet. 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 |