RTI Connext Modern C++ API Version 7.3.0
rti::core::policy::WireProtocolAutoKind_def Struct Reference

<<extension>> The definition of the dds::core::safe_enum WireProtocolAutoKind More...

#include <PolicyKind.hpp>

Public Types

enum  type {
  RTPS_AUTO_ID_FROM_IP ,
  RTPS_AUTO_ID_FROM_MAC ,
  RTPS_AUTO_ID_FROM_UUID
}
 The underlying enum type. More...
 

Detailed Description

<<extension>> The definition of the dds::core::safe_enum WireProtocolAutoKind

Member Enumeration Documentation

◆ type

The underlying enum type.

Enumerator
RTPS_AUTO_ID_FROM_IP 

Builds the GUID prefix using the IPv4 address and process ID.

Uses the IPv4 address of the first up-and-running interface of the host machine and the process ID to build the GUID prefix.

RTPS_AUTO_ID_FROM_MAC 

Builds the GUID prefix using the MAC address and process ID.

Uses the first 32 bits of the MAC address assigned to the first up-and-running interface and the process ID to build the GUID prefix.

Note to Android Users: DDS_RTPS_AUTO_ID_FROM_MAC is not supported in recent versions of Android (6.0 and later).

RTPS_AUTO_ID_FROM_UUID 

Builds the GUID prefix by selecting the UUID-based algorithm (default).

This method of generating the GUID prefix does not require having a network interface and is friendly to IP mobility scenarios in which an RTI Connext application may start in a node that does not have a physical network interface enabled.