|
TraveSim Adapters
0.1
Protobuf adapters for TraveSim project
|
Sender class using UDP in unicast mode. More...
#include "unicast_sender.hpp"
Public Member Functions | |
| UnicastSender (const std::string receiver_address, const short receiver_port) | |
| Construct a new UnicastSender object. More... | |
Public Member Functions inherited from travesim::udp::Sender | |
| Sender (const std::string receiver_address, const short receiver_port) | |
| Construct a new Sender object. More... | |
| virtual | ~Sender () |
| Destroy the Sender object. More... | |
| size_t | send (const char *buffer, const size_t buffer_size) |
| Send data using UDP. More... | |
| void | set_receiver_endpoint (const std::string receiver_address, const short receiver_port) |
| Set the receiver endpoint object. More... | |
Additional Inherited Members | |
Protected Attributes inherited from travesim::udp::Sender | |
| boost::asio::ip::udp::socket * | socket |
| boost::asio::ip::udp::endpoint | endpoint |
Sender class using UDP in unicast mode.
Definition at line 24 of file unicast_sender.hpp.
| travesim::udp::UnicastSender::UnicastSender | ( | const std::string | receiver_address, |
| const short | receiver_port | ||
| ) |
Construct a new UnicastSender object.
| receiver_address | Address where to send data |
| receiver_port | Port where to send data |
Definition at line 22 of file unicast_sender.cpp.
References travesim::udp::Sender::socket.