Class Locator_t, uniquely identifies a communication channel for a particular transport.
More...
#include <Locator.hpp>
Class Locator_t, uniquely identifies a communication channel for a particular transport.
For example, an address + port combination in the case of UDP.
◆ Locator_t() [1/5]
◆ Locator_t() [2/5]
| Locator_t |
( |
Locator_t && | loc | ) |
|
|
inline |
◆ Locator_t() [3/5]
| Locator_t |
( |
const Locator_t & | loc | ) |
|
|
inline |
◆ Locator_t() [4/5]
| Locator_t |
( |
uint32_t | portin | ) |
|
|
inline |
◆ Locator_t() [5/5]
| Locator_t |
( |
int32_t | kindin, |
|
|
uint32_t | portin ) |
|
inline |
Kind and port constructor.
◆ get_address() [1/2]
Getter for the locator IP address.
- Returns
- IP address as octet pointer.
◆ get_address() [2/2]
| octet get_address |
( |
uint16_t | field | ) |
const |
|
inline |
Getter for a specific field of the locator IP address.
- Parameters
-
| field | IP address element to be accessed. |
- Returns
- Octet value for the specific IP address element.
◆ operator=()
◆ set_address()
Set the locator IP address using another locator.
- Parameters
-
| other | Locator which IP address is used to set this locator IP address. |
- Returns
- always true.
◆ set_Invalid_Address()
| void set_Invalid_Address |
( |
| ) |
|
|
inline |
Automatic setter for setting locator IP address to invalid address (0).
◆ address
◆ kind
Specifies the locator type.
Valid values are:
LOCATOR_KIND_UDPv4
LOCATOR_KIND_UDPv6
LOCATOR_KIND_TCPv4
LOCATOR_KIND_TCPv6
LOCATOR_KIND_SHM
◆ port
The documentation for this class was generated from the following file: