RTI Connext C# API  6.1.2
TransportUnicast Class Reference

Specifies a subset of transports and a port number that can be used by an Entity to receive data. More...

Inherits IEquatable< TransportUnicast >.

Public Member Functions

 TransportUnicast (IEnumerable< TransportUnicastSettings > value)
 Creates a TransportUnicast object with a list of settings More...
 
 TransportUnicast (SettingsList value)
 Creates a TransportUnicast object with a list of settings More...
 
TransportUnicast With (Action< SettingsList.Builder > build)
 Creates a new TransportUnicast 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 (TransportUnicast other)
 Compares for equality More...
 

Properties

SettingsList Value [get]
 A sequence of unicast communication settings. More...
 
static TransportUnicast Default [get]
 Singleton containing the default value of a TransportUnicast More...
 

Detailed Description

Specifies a subset of transports and a port number that can be used by an Entity to receive data.

Constructor & Destructor Documentation

◆ TransportUnicast() [1/2]

TransportUnicast ( IEnumerable< TransportUnicastSettings value)

Creates a TransportUnicast object with a list of settings

◆ TransportUnicast() [2/2]

TransportUnicast ( SettingsList  value)

Creates a TransportUnicast object with a list of settings

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Equals ( TransportUnicast  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

TransportUnicast With ( Action< SettingsList.Builder >  build)

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

Parameters
buildAn Action (typically a lambda function) that receives a list builder with the current settings of this TransportUnicast and allows adding, removing, or replacing.
Returns
A new TransportUnicast with the changes applied by the Action

Property Documentation

◆ Default

TransportUnicast Default
staticget

Singleton containing the default value of a TransportUnicast

◆ Value

SettingsList Value
get

A sequence of unicast communication settings.

The full documentation is available in the C API: DDS_TransportUnicastQosPolicy::value