|
| Message (std::string ip, uint16_t port, std::string message) |
|
| Message (const std::string &endpoint, std::string message) |
|
bool | isEmpty () const |
|
std::string | getMessage () const |
|
std::string | getIp () const |
|
uint16_t | getPort () const |
|
◆ getIp()
std::string solanet::Message::getIp |
( |
| ) |
const |
|
inline |
Returns IPv4 destination address
- Returns
- IPv4 destination address
◆ getMessage()
std::string solanet::Message::getMessage |
( |
| ) |
const |
|
inline |
Returns message content
- Returns
- message content
◆ getPort()
uint16_t solanet::Message::getPort |
( |
| ) |
const |
|
inline |
Returns UDP destination port
- Returns
- UDP destination port
◆ isEmpty()
bool solanet::Message::isEmpty |
( |
| ) |
const |
|
inline |
Check if message is treated as empty
- Returns
- true if message is empty
The documentation for this class was generated from the following file:
- solanet/include/solanet/network_udp/message.h