Communication address specified by IP, port, and protocol.
More...
#include <Address.hpp>
Communication address specified by IP, port, and protocol.
| fipa::services::transports::Address::Address |
( |
| ) |
|
|
inline |
| fipa::services::transports::Address::Address |
( |
const std::string & |
ip, |
|
|
uint16_t |
port, |
|
|
const std::string & |
protocol = "udt" |
|
) |
| |
| Address fipa::services::transports::Address::fromString |
( |
const std::string & |
address | ) |
|
|
static |
Create address from string
- Returns
- std::invalid_argument if address is malformatted
| bool fipa::services::transports::Address::operator!= |
( |
const Address & |
other | ) |
const |
|
inline |
| bool fipa::services::transports::Address::operator< |
( |
const Address & |
other | ) |
const |
Less than operator, to allow usage of this structure with std::set
- Returns
- true if other address is greater, false otherwise
| bool fipa::services::transports::Address::operator== |
( |
const Address & |
other | ) |
const |
Equals operator
- Returns
- True if equal, false otherwise
| std::string fipa::services::transports::Address::toString |
( |
| ) |
const |
Convert address to string
- Returns
- Address as string
| std::string fipa::services::transports::Address::ip |
| uint16_t fipa::services::transports::Address::port |
| std::string fipa::services::transports::Address::protocol |
The documentation for this class was generated from the following files:
- /build/rock-master-18.09-multiagent-fipa-services-0.20171213/src/transports/Address.hpp
- /build/rock-master-18.09-multiagent-fipa-services-0.20171213/src/transports/Address.cpp