Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Sender endpoint sub-pipeline. More...
#include <sender_endpoint.h>
Public Member Functions | |
SenderEndpoint (address::Protocol proto, const address::SocketAddr &dest_address, packet::IWriter &dest_writer, core::IArena &arena) | |
Initialize. More... | |
bool | is_valid () const |
Check if pipeline was succefully constructed. More... | |
address::Protocol | proto () const |
Get protocol. More... | |
packet::IComposer & | composer () |
Get packet composer. More... | |
packet::IWriter & | writer () |
Get packet writer. More... | |
Sender endpoint sub-pipeline.
Contains:
Definition at line 33 of file sender_endpoint.h.
roc::pipeline::SenderEndpoint::SenderEndpoint | ( | address::Protocol | proto, |
const address::SocketAddr & | dest_address, | ||
packet::IWriter & | dest_writer, | ||
core::IArena & | arena | ||
) |
Initialize.
dest_address
specifies destination address that is assigned to the outgoing packets in the end of endpoint pipelinedest_writer
specifies destination writer to which packets are sent in the end of endpoint pipeline packet::IComposer& roc::pipeline::SenderEndpoint::composer | ( | ) |
Get packet composer.
bool roc::pipeline::SenderEndpoint::is_valid | ( | ) | const |
Check if pipeline was succefully constructed.
address::Protocol roc::pipeline::SenderEndpoint::proto | ( | ) | const |
Get protocol.
packet::IWriter& roc::pipeline::SenderEndpoint::writer | ( | ) |
Get packet writer.