Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::netio::UDPReceiverPort Class Reference

UDP receiver. More...

#include <udp_receiver_port.h>

Inheritance diagram for roc::netio::UDPReceiverPort:
Collaboration diagram for roc::netio::UDPReceiverPort:

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::Addressaddress () const
 Get bind address. More...
virtual bool open ()
 Open receiver. More...
virtual void async_close ()
 Asynchronously close receiver. More...
- Public Member Functions inherited from roc::netio::BasicPort
 BasicPort (core::IAllocator &)
 Initialize. More...
virtual ~BasicPort ()
 Destroy. 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
ListNodeDatalist_node_data () const
 Get list node data. More...

Detailed Description

UDP receiver.

Definition at line 32 of file udp_receiver_port.h.

Constructor & Destructor Documentation

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 


roc::netio::UDPReceiverPort::~UDPReceiverPort ( )


Member Function Documentation

virtual const packet::Address& roc::netio::UDPReceiverPort::address ( ) const

Get bind address.

Implements roc::netio::BasicPort.

virtual void roc::netio::UDPReceiverPort::async_close ( )

Asynchronously close receiver.

Implements roc::netio::BasicPort.

virtual bool roc::netio::UDPReceiverPort::open ( )

Open receiver.

Implements roc::netio::BasicPort.

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