RTI Connext C# API  6.1.2
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

◆ Equals() [1/2]

override bool Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Equals ( TransportUnicastSettings  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

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

Property Documentation

◆ Default

TransportUnicastSettings Default
staticget

Singleton containing the default value of a TransportUnicastSettings

◆ ReceivePort

int 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

◆ Transports

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.

The full documentation is available in the C API: DDS_TransportUnicastSettings_t::transports