Sender node.
More...
#include <sender.h>
|
| Sender (Context &context, const pipeline::SenderSinkConfig &pipeline_config) |
| Initialize. More...
|
|
| ~Sender () |
| Deinitialize. More...
|
|
bool | is_valid () const |
| Check if successfully constructed. More...
|
|
ROC_ATTR_NODISCARD bool | configure (slot_index_t slot_index, address::Interface iface, const netio::UdpConfig &config) |
| Set interface config. More...
|
|
ROC_ATTR_NODISCARD bool | connect (slot_index_t slot_index, address::Interface iface, const address::EndpointUri &uri) |
| Connect to remote endpoint. More...
|
|
ROC_ATTR_NODISCARD bool | unlink (slot_index_t slot_index) |
| Remove slot. More...
|
|
ROC_ATTR_NODISCARD bool | get_metrics (slot_index_t slot_index, slot_metrics_func_t slot_metrics_func, void *slot_metrics_arg, party_metrics_func_t party_metrics_func, size_t *party_metrics_size, void *party_metrics_arg) |
| Get metrics. More...
|
|
bool | has_incomplete () |
| Check if there are incomplete or broken slots. More...
|
|
bool | has_broken () |
| Check if there are broken slots. More...
|
|
sndio::ISink & | sink () |
| Get sender sink. More...
|
|
| Node (Context &context) |
| Initialize. More...
|
|
virtual | ~Node () |
| Deinitialize. More...
|
|
Context & | context () |
| All nodes hold reference to context. More...
|
|
Sender node.
Definition at line 35 of file sender.h.
◆ party_metrics_func_t
Callback for participant metrics.
Definition at line 67 of file sender.h.
◆ slot_index_t
Slot index.
Definition at line 38 of file sender.h.
◆ slot_metrics_func_t
Callback for slot metrics.
Definition at line 63 of file sender.h.
◆ Sender()
◆ ~Sender()
roc::node::Sender::~Sender |
( |
| ) |
|
◆ configure()
◆ connect()
Connect to remote endpoint.
◆ get_metrics()
◆ has_broken()
bool roc::node::Sender::has_broken |
( |
| ) |
|
Check if there are broken slots.
◆ has_incomplete()
bool roc::node::Sender::has_incomplete |
( |
| ) |
|
Check if there are incomplete or broken slots.
◆ is_valid()
bool roc::node::Sender::is_valid |
( |
| ) |
const |
Check if successfully constructed.
◆ sink()
◆ unlink()
The documentation for this class was generated from the following file: