Definition at line 47 of file udp.cc.
◆ Impl() [1/2]
◆ Impl() [2/2]
| unilink::transport::UdpChannel::Impl::Impl |
( |
const config::UdpConfig & |
config, |
|
|
net::io_context & |
external_ioc |
|
) |
| |
|
inline |
◆ ~Impl()
| unilink::transport::UdpChannel::Impl::~Impl |
( |
| ) |
|
|
inline |
◆ close_socket()
| void unilink::transport::UdpChannel::Impl::close_socket |
( |
| ) |
|
|
inline |
◆ do_write()
| void unilink::transport::UdpChannel::Impl::do_write |
( |
std::shared_ptr< UdpChannel > |
self | ) |
|
|
inline |
◆ enqueue_buffer()
| bool unilink::transport::UdpChannel::Impl::enqueue_buffer |
( |
std::variant< memory::PooledBuffer, std::vector< uint8_t >, std::shared_ptr< const std::vector< uint8_t >>> && |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ handle_receive()
| void unilink::transport::UdpChannel::Impl::handle_receive |
( |
std::shared_ptr< UdpChannel > |
self, |
|
|
const boost::system::error_code & |
ec, |
|
|
std::size_t |
bytes |
|
) |
| |
|
inline |
◆ init()
| void unilink::transport::UdpChannel::Impl::init |
( |
| ) |
|
|
inline |
◆ join_ioc_thread()
| void unilink::transport::UdpChannel::Impl::join_ioc_thread |
( |
bool |
allow_detach | ) |
|
|
inline |
◆ notify_state()
| void unilink::transport::UdpChannel::Impl::notify_state |
( |
| ) |
|
|
inline |
◆ open_socket()
| void unilink::transport::UdpChannel::Impl::open_socket |
( |
std::shared_ptr< UdpChannel > |
self | ) |
|
|
inline |
◆ perform_stop_cleanup()
| void unilink::transport::UdpChannel::Impl::perform_stop_cleanup |
( |
| ) |
|
|
inline |
◆ report_backpressure()
| void unilink::transport::UdpChannel::Impl::report_backpressure |
( |
size_t |
queued_bytes | ) |
|
|
inline |
◆ set_remote_from_config()
| void unilink::transport::UdpChannel::Impl::set_remote_from_config |
( |
| ) |
|
|
inline |
◆ start_receive()
| void unilink::transport::UdpChannel::Impl::start_receive |
( |
std::shared_ptr< UdpChannel > |
self | ) |
|
|
inline |
◆ transition_to()
| void unilink::transport::UdpChannel::Impl::transition_to |
( |
LinkState |
target, |
|
|
const boost::system::error_code & |
ec = {} |
|
) |
| |
|
inline |
◆ backpressure_active_
| bool unilink::transport::UdpChannel::Impl::backpressure_active_ {false} |
◆ bp_high_
| size_t unilink::transport::UdpChannel::Impl::bp_high_ |
◆ bp_limit_
| size_t unilink::transport::UdpChannel::Impl::bp_limit_ |
◆ bp_low_
| size_t unilink::transport::UdpChannel::Impl::bp_low_ |
◆ cfg_
◆ connected_
| std::atomic<bool> unilink::transport::UdpChannel::Impl::connected_ {false} |
◆ ioc_
| net::io_context* unilink::transport::UdpChannel::Impl::ioc_ |
◆ ioc_thread_
| std::thread unilink::transport::UdpChannel::Impl::ioc_thread_ |
◆ local_endpoint_
| udp::endpoint unilink::transport::UdpChannel::Impl::local_endpoint_ |
◆ on_bp_
◆ on_bytes_
| OnBytes unilink::transport::UdpChannel::Impl::on_bytes_ |
◆ on_state_
| OnState unilink::transport::UdpChannel::Impl::on_state_ |
◆ opened_
| std::atomic<bool> unilink::transport::UdpChannel::Impl::opened_ {false} |
◆ owned_ioc_
| std::unique_ptr<net::io_context> unilink::transport::UdpChannel::Impl::owned_ioc_ |
◆ owns_ioc_
| bool unilink::transport::UdpChannel::Impl::owns_ioc_ {true} |
◆ queue_bytes_
| size_t unilink::transport::UdpChannel::Impl::queue_bytes_ {0} |
◆ recv_endpoint_
| udp::endpoint unilink::transport::UdpChannel::Impl::recv_endpoint_ |
◆ remote_endpoint_
| std::optional<udp::endpoint> unilink::transport::UdpChannel::Impl::remote_endpoint_ |
◆ rx_
| std::array<uint8_t, common::constants::DEFAULT_READ_BUFFER_SIZE> unilink::transport::UdpChannel::Impl::rx_ {} |
◆ socket_
| udp::socket unilink::transport::UdpChannel::Impl::socket_ |
◆ started_
| bool unilink::transport::UdpChannel::Impl::started_ {false} |
◆ state_
| ThreadSafeLinkState unilink::transport::UdpChannel::Impl::state_ {LinkState::Idle} |
◆ stop_requested_
| std::atomic<bool> unilink::transport::UdpChannel::Impl::stop_requested_ {false} |
◆ stopping_
| std::atomic<bool> unilink::transport::UdpChannel::Impl::stopping_ {false} |
◆ strand_
| net::strand<net::io_context::executor_type> unilink::transport::UdpChannel::Impl::strand_ |
◆ terminal_state_notified_
| std::atomic<bool> unilink::transport::UdpChannel::Impl::terminal_state_notified_ {false} |
◆ tx_
| std::deque<std::variant<memory::PooledBuffer, std::vector<uint8_t>, std::shared_ptr<const std::vector<uint8_t> > > > unilink::transport::UdpChannel::Impl::tx_ |
◆ work_guard_
| std::unique_ptr<net::executor_work_guard<net::io_context::executor_type> > unilink::transport::UdpChannel::Impl::work_guard_ |
◆ writing_
| bool unilink::transport::UdpChannel::Impl::writing_ {false} |
The documentation for this struct was generated from the following file: