#include <UDPWriter.hpp>
Public Member Functions | |
UDPWriterConnection (const Info &info) | |
![]() | |
Base (const Info &info, std::string name) | |
void | read_data_handle (std::span< BufferElementType > read_data) |
void | close () |
void | on_fail () |
auto | get_executor () |
void | listen (this auto &&self, bool is_non_stop=false) |
void | communicate (this auto &&self, const std::vector< CommunicateEntryType > &data, uint16_t address) |
auto | send_continuous_message () -> asio::experimental::coro< int(std::optional< std::string_view >)> |
void | set_socket (std::unique_ptr< asio::ip::udp::socket > socket) |
void | set_remote_endpoint (asio::ip::udp::endpoint endpoint) |
void | set_timeout_seconds (int val) |
void | set_send_message (const RangedData auto &msg) |
auto | get_read_msg_buffer () const -> const ReadBufferType< buffer_size > & |
auto | get_name () const -> const std::string & |
auto | get_app () -> App & |
auto | get_socket () -> const udp::socket & |
auto | get_remote_endpoint () -> const udp::endpoint & |
auto | get_local_port_number () const -> int |
auto | is_continuous () const -> bool |
Additional Inherited Members | |
![]() | |
auto | new_shared_socket (int port_number) -> std::unique_ptr< udp::socket > |
void | close_socket () |
void | set_continuous (bool is_continuous=true) |
Definition at line 9 of file UDPWriter.hpp.
|
inlineexplicit |
Definition at line 12 of file UDPWriter.hpp.