RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.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 = new TransportUnicast(SettingsList.Empty) [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]

Rti.Dds.Core.Policy.TransportUnicast.TransportUnicast ( IEnumerable< TransportUnicastSettings value)
inline

Creates a TransportUnicast object with a list of settings

◆ TransportUnicast() [2/2]

Rti.Dds.Core.Policy.TransportUnicast.TransportUnicast ( SettingsList  value)

Creates a TransportUnicast object with a list of settings

Member Function Documentation

◆ With()

TransportUnicast Rti.Dds.Core.Policy.TransportUnicast.With ( Action< SettingsList.Builder >  build)
inline

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

◆ GetHashCode()

override int Rti.Dds.Core.Policy.TransportUnicast.GetHashCode ( )

Gets the hash code

◆ Equals() [1/2]

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

Compares for equality

◆ Equals() [2/2]

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

Compares for equality

Property Documentation

◆ Value

SettingsList Rti.Dds.Core.Policy.TransportUnicast.Value
get

A sequence of unicast communication settings.

The full documentation is available in the C API: DDS_TransportUnicastQosPolicy_value

◆ Default

TransportUnicast Rti.Dds.Core.Policy.TransportUnicast.Default = new TransportUnicast(SettingsList.Empty)
staticget

Singleton containing the default value of a TransportUnicast