17.2.3.9.4. Locator_t

class eprosima::fastrtps::rtps::Locator_t

Class Locator_t, uniquely identifies a communication channel for a particular transport.

Public Functions

inline Locator_t()

Default constructor.

inline Locator_t(Locator_t &&loc)

Move constructor.

inline Locator_t(const Locator_t &loc)

Copy constructor.

inline Locator_t(uint32_t portin)

Port constructor.

inline Locator_t(int32_t kindin, uint32_t portin)

Kind and port constructor.

Public Members

int32_t kind

Specifies the locator type.

Valid values are:

LOCATOR_KIND_UDPv4

LOCATOR_KIND_UDPv6

LOCATOR_KIND_TCPv4

LOCATOR_KIND_TCPv6

LOCATOR_KIND_SHM

uint32_t port

Network port.

octet address[16]

IP address.