RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.TransportUnicastSettings Class Reference

Specifies a list of unicast locators and a unicast port. More...

Inherits IEquatable< TransportUnicastSettings >.

Public Member Functions

TransportUnicastSettings With (Action< TransportUnicastSettingsBuilder > build)
 Creates a new TransportUnicastSettings with a set of changes specified in an Action More...
 
override int GetHashCode ()
 Gets the hash code More...
 
override bool Equals (object other)
 Compares for equality More...
 
bool Equals (TransportUnicastSettings other)
 Compares for equality More...
 

Properties

ImmutableList< string > Transports [get]
 A sequence of transport aliases that specifies the unicast interfaces on which to receive unicast traffic for the entity. The built-in aliases are defined in TransportBuiltinAlias. More...
 
int ReceivePort [get]
 The unicast port on which the entity can receive data. More...
 
static TransportUnicastSettings Default [get]
 Singleton containing the default value of a TransportUnicastSettings More...
 

Detailed Description

Specifies a list of unicast locators and a unicast port.

Member Function Documentation

◆ With()

TransportUnicastSettings Rti.Dds.Core.Policy.TransportUnicastSettings.With ( Action< TransportUnicastSettingsBuilder build)
inline

Creates a new TransportUnicastSettings with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable object with the current values of this TransportUnicastSettings.
Returns
A new TransportUnicastSettings with the changes applied by the Action

◆ GetHashCode()

override int Rti.Dds.Core.Policy.TransportUnicastSettings.GetHashCode ( )
inline

Gets the hash code

◆ Equals() [1/2]

override bool Rti.Dds.Core.Policy.TransportUnicastSettings.Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Rti.Dds.Core.Policy.TransportUnicastSettings.Equals ( TransportUnicastSettings  other)
inline

Compares for equality

Property Documentation

◆ Transports

ImmutableList<string> Rti.Dds.Core.Policy.TransportUnicastSettings.Transports
get

A sequence of transport aliases that specifies the unicast interfaces on which to receive unicast traffic for the entity. The built-in aliases are defined in TransportBuiltinAlias.

The full documentation is available in the C API: DDS_TransportUnicastSettings_t_transports

◆ ReceivePort

int Rti.Dds.Core.Policy.TransportUnicastSettings.ReceivePort
get

The unicast port on which the entity can receive data.

The full documentation is available in the C API: DDS_TransportUnicastSettings_t_receive_port

◆ Default

TransportUnicastSettings Rti.Dds.Core.Policy.TransportUnicastSettings.Default
staticget
Initial value:
=
new TransportUnicastSettings(new TransportUnicastSettingsBuilder()
{
Transports = ImmutableList<string>.Empty.ToBuilder()
})
ImmutableList< string > Transports
A sequence of transport aliases that specifies the unicast interfaces on which to receive unicast tra...
Definition: TransportUnicastSettings.cs:29

Singleton containing the default value of a TransportUnicastSettings