Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Resolve endpoint address. More...
#include <network_loop.h>
Public Member Functions | |
ResolveEndpointAddress (const address::EndpointUri &endpoint_uri) | |
Set task parameters. More... | |
const address::SocketAddr & | get_address () const |
Get resolved address. More... | |
Public Member Functions inherited from roc::netio::NetworkTask | |
bool | success () const |
Check that the task finished and succeeded. More... | |
Public Member Functions inherited from roc::core::MpscQueueNode< Tag > | |
MpscQueueData * | mpsc_queue_data () const |
Get pointer to internal data. More... | |
Friends | |
class | NetworkLoop |
Additional Inherited Members | |
Static Public Member Functions inherited from roc::core::MpscQueueNode< Tag > | |
static MpscQueueNode * | mpsc_queue_node (MpscQueueData *data) |
Get pointer to parent node from pointer to internal data. More... | |
Protected Types inherited from roc::netio::NetworkTask | |
enum | State { StateInitialized , StatePending , StateClosingPort , StateFinishing , StateFinished } |
Task state. More... | |
Protected Attributes inherited from roc::netio::NetworkTask | |
void(NetworkLoop::* | func_ )(NetworkTask &) |
Task implementation method. More... | |
core::Atomic< int > | state_ |
Task state, defines whether task is finished already. The task becomes immutable after setting state to Finished. More... | |
core::Atomic< int > | success_ |
Task result, defines wether finished task succeeded or failed. Makes sense only after setting state_ to Finished. This atomic should be assigned before setting state_ to Finished. More... | |
core::SharedPtr< BasicPort > | port_ |
On which port the task operates. More... | |
void * | port_handle_ |
Port handle. More... | |
INetworkTaskCompleter * | completer_ |
Completion handler. More... | |
core::Optional< core::Semaphore > | sem_ |
Completion semaphore. More... | |
Resolve endpoint address.
Definition at line 169 of file network_loop.h.
roc::netio::NetworkLoop::Tasks::ResolveEndpointAddress::ResolveEndpointAddress | ( | const address::EndpointUri & | endpoint_uri | ) |
Set task parameters.
const address::SocketAddr& roc::netio::NetworkLoop::Tasks::ResolveEndpointAddress::get_address | ( | ) | const |
Get resolved address.