![]() |
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, core::IAllocator &allocator) | |
Initialize. | |
bool | valid () const |
Check if pipeline was succefully constructed. | |
address::Protocol | proto () const |
Get protocol. | |
packet::IComposer & | composer () |
Get packet composer. | |
packet::IWriter & | writer () |
Get packet writer. | |
bool | has_destination_writer () const |
Check if destination writer was set. | |
void | set_destination_writer (packet::IWriter &writer) |
Set destination writer. | |
void | set_destination_address (const address::SocketAddr &) |
Set destination address. | |
Sender endpoint sub-pipeline.
Contains:
Definition at line 33 of file sender_endpoint.h.
roc::pipeline::SenderEndpoint::SenderEndpoint | ( | address::Protocol | proto, |
core::IAllocator & | allocator | ||
) |
Initialize.
packet::IComposer & roc::pipeline::SenderEndpoint::composer | ( | ) |
Get packet composer.
bool roc::pipeline::SenderEndpoint::has_destination_writer | ( | ) | const |
Check if destination writer was set.
address::Protocol roc::pipeline::SenderEndpoint::proto | ( | ) | const |
Get protocol.
void roc::pipeline::SenderEndpoint::set_destination_address | ( | const address::SocketAddr & | ) |
Set destination address.
void roc::pipeline::SenderEndpoint::set_destination_writer | ( | packet::IWriter & | writer | ) |
Set destination writer.
bool roc::pipeline::SenderEndpoint::valid | ( | ) | const |
Check if pipeline was succefully constructed.
packet::IWriter & roc::pipeline::SenderEndpoint::writer | ( | ) |
Get packet writer.