Public Member Functions | Private Attributes | List of all members
AS::Network::UDPInterface Class Reference

#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_
 

Detailed Description

Definition at line 42 of file network_interface.h.

Constructor & Destructor Documentation

UDPInterface::UDPInterface ( )

Definition at line 14 of file udp_interface.cpp.

UDPInterface::~UDPInterface ( )

Definition at line 20 of file udp_interface.cpp.

Member Function Documentation

return_statuses UDPInterface::close ( )

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.

Member Data Documentation

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.


The documentation for this class was generated from the following files:


network_interface
Author(s): Joshua Whitley , Daniel Stanek , Joe Kale
autogenerated on Thu Jun 6 2019 19:57:06