#include <network_interface.h>
Public Member Functions | |
return_statuses | close () |
bool | is_open () |
return_statuses | open (const char *ip_address, const int &port) |
return_statuses | read (unsigned char *msg, const size_t &buf_size, size_t &bytes_read) |
UDPInterface () | |
return_statuses | write (unsigned char *msg, const size_t &msg_size) |
~UDPInterface () | |
Private Attributes | |
boost::asio::io_service | io_service_ |
boost::asio::ip::udp::endpoint | sender_endpoint_ |
boost::asio::ip::udp::socket | socket_ |
Definition at line 42 of file network_interface.h.
Definition at line 14 of file udp_interface.cpp.
Definition at line 20 of file udp_interface.cpp.
Definition at line 53 of file udp_interface.cpp.
bool UDPInterface::is_open | ( | ) |
Definition at line 71 of file udp_interface.cpp.
return_statuses UDPInterface::open | ( | const char * | ip_address, |
const int & | port | ||
) |
Definition at line 24 of file udp_interface.cpp.
return_statuses UDPInterface::read | ( | unsigned char * | msg, |
const size_t & | buf_size, | ||
size_t & | bytes_read | ||
) |
Definition at line 76 of file udp_interface.cpp.
return_statuses UDPInterface::write | ( | unsigned char * | msg, |
const size_t & | msg_size | ||
) |
Definition at line 96 of file udp_interface.cpp.
boost::asio::io_service AS::Network::UDPInterface::io_service_ [private] |
Definition at line 67 of file network_interface.h.
boost::asio::ip::udp::endpoint AS::Network::UDPInterface::sender_endpoint_ [private] |
Definition at line 69 of file network_interface.h.
boost::asio::ip::udp::socket AS::Network::UDPInterface::socket_ [private] |
Definition at line 68 of file network_interface.h.