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

Contains the class id and message max size of an installed transport. More...

Inherits IEquatable< TransportInfo >.

Public Member Functions

TransportInfo With (Action< TransportInfoBuilder > build)
 Creates a new TransportInfo 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 (TransportInfo other)
 Compares for equality More...
 

Properties

TransportClassId ClassId [get]
 The class_id identifies the transport associated with the message_size_max. More...
 
int MessageSizeMax [get]
 The maximum size of an RTPS message in bytes that can be sent or received by the transport plugin identified by the class_id. More...
 
static TransportInfo Default = CreateDefault() [get]
 Singleton containing the default value of a TransportInfo More...
 

Detailed Description

Contains the class id and message max size of an installed transport.

The full documentation is available in the C API: DDS_TransportInfo_t

Member Function Documentation

◆ With()

TransportInfo Rti.Dds.Core.TransportInfo.With ( Action< TransportInfoBuilder build)
inline

Creates a new TransportInfo 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 TransportInfo.
Returns
A new TransportInfo with the changes applied by the Action

◆ GetHashCode()

override int Rti.Dds.Core.TransportInfo.GetHashCode ( )
inline

Gets the hash code

◆ Equals() [1/2]

override bool Rti.Dds.Core.TransportInfo.Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Rti.Dds.Core.TransportInfo.Equals ( TransportInfo  other)
inline

Compares for equality

Property Documentation

◆ ClassId

TransportClassId Rti.Dds.Core.TransportInfo.ClassId
get

The class_id identifies the transport associated with the message_size_max.

The full documentation is available in the C API: DDS_TransportInfo_t_class_id

◆ MessageSizeMax

int Rti.Dds.Core.TransportInfo.MessageSizeMax
get

The maximum size of an RTPS message in bytes that can be sent or received by the transport plugin identified by the class_id.

The full documentation is available in the C API: DDS_TransportInfo_t_message_size_max

◆ Default

TransportInfo Rti.Dds.Core.TransportInfo.Default = CreateDefault()
staticget

Singleton containing the default value of a TransportInfo