#include <udp_socket.h>
|
void | send_handler (const boost::system::error_code &error, std::size_t len) |
|
Definition at line 23 of file udp_socket.h.
◆ UdpSocket()
◆ ~UdpSocket()
UdpSocket::~UdpSocket |
( |
| ) |
|
◆ INJECT()
UdpSocket::INJECT |
( |
UdpSocket(ASSISTED(udp::endpoint) target_socket, callback) |
| ) |
|
◆ Port()
unsigned short UdpSocket::Port |
( |
| ) |
|
|
overridevirtual |
◆ send_handler()
void UdpSocket::send_handler |
( |
const boost::system::error_code & |
error, |
|
|
std::size_t |
len |
|
) |
| |
|
private |
◆ SendData()
void UdpSocket::SendData |
( |
std::vector< uint8_t > |
vec | ) |
|
|
overridevirtual |
◆ Start()
void UdpSocket::Start |
( |
| ) |
|
|
overridevirtual |
◆ Stop()
◆ callback_
std::shared_ptr<std::function<void(std::vector<uint8_t>)> > UdpSocket::callback_ |
|
private |
◆ is_running_
bool UdpSocket::is_running_ = false |
|
private |
◆ local_endpoint_
udp::endpoint UdpSocket::local_endpoint_ {} |
|
private |
◆ recv_thread_
std::unique_ptr<std::thread> UdpSocket::recv_thread_ {nullptr} |
|
private |
◆ send_io_service_
std::unique_ptr<boost::asio::io_service> UdpSocket::send_io_service_ |
|
private |
Initial value:{
new boost::asio::io_service()}
Definition at line 55 of file udp_socket.h.
◆ send_socket_
std::unique_ptr<udp::socket> UdpSocket::send_socket_ |
|
private |
◆ target_socket_
udp::endpoint UdpSocket::target_socket_ |
|
private |
The documentation for this class was generated from the following files: