#include <udp_server.h>
|
void | handleReceive (const boost::system::error_code &error, std::size_t bytes_transferred) |
|
void | handleSend (std::vector< uint8_t > sent_payload, const boost::system::error_code &ec, std::size_t bytes_transferred) |
|
void | startReceive () |
|
Definition at line 32 of file udp_server.h.
◆ UDPServer()
◆ close()
◆ handleReceive()
void UDPServer::handleReceive |
( |
const boost::system::error_code & |
error, |
|
|
std::size_t |
bytes_transferred |
|
) |
| |
|
private |
◆ handleSend()
void UDPServer::handleSend |
( |
std::vector< uint8_t > |
sent_payload, |
|
|
const boost::system::error_code & |
ec, |
|
|
std::size_t |
bytes_transferred |
|
) |
| |
|
private |
◆ is_open()
bool UDPServer::is_open |
( |
| ) |
|
◆ open()
ReturnStatuses UDPServer::open |
( |
const std::string & |
ip_address, |
|
|
uint32_t |
port |
|
) |
| |
◆ registerReceiveHandler()
void UDPServer::registerReceiveHandler |
( |
std::function< std::vector< uint8_t >(const std::vector< uint8_t > &)> |
callback | ) |
|
◆ run()
◆ startReceive()
void UDPServer::startReceive |
( |
| ) |
|
|
private |
◆ stop()
◆ client_endpoint_
boost::asio::ip::udp::endpoint AS::Network::UDPServer::client_endpoint_ |
|
private |
◆ io_service_
boost::asio::io_service AS::Network::UDPServer::io_service_ |
|
private |
◆ receive_callback_
std::function<std::vector<uint8_t>const std::vector<uint8_t>&)> AS::Network::UDPServer::receive_callback_ |
|
private |
◆ server_endpoint_
boost::asio::ip::udp::endpoint AS::Network::UDPServer::server_endpoint_ |
|
private |
◆ socket_
boost::asio::ip::udp::socket AS::Network::UDPServer::socket_ |
|
private |
The documentation for this class was generated from the following files: