![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Basic port interface. More...
#include <basic_port.h>
Public Member Functions | |
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... | |
Friends | |
class | core::RefCnt< BasicPort > |
Basic port interface.
Definition at line 24 of file basic_port.h.
|
explicit |
Initialize.
|
virtual |
Destroy.
|
pure virtual |
Get bind address.
Implemented in roc::netio::UDPReceiverPort, and roc::netio::UDPSenderPort.
|
pure virtual |
Asynchronous close.
Implemented in roc::netio::UDPReceiverPort, and roc::netio::UDPSenderPort.
|
pure virtual |
Open port.
Implemented in roc::netio::UDPReceiverPort, and roc::netio::UDPSenderPort.
|
friend |
Definition at line 45 of file basic_port.h.