RTI Connext C# API Version 7.3.0
Rti.Dds.Core.Policy.TransportPriority Class Reference

Allows the application to take advantage of transports that are capable of sending messages with different priorities. More...

Inherits IEquatable< TransportPriority >.

Public Member Functions

 TransportPriority (int value)
 Creates a new instance More...
 
TransportPriority With (Action< TransportPriorityBuilder > build)
 Creates a new TransportPriority 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 (TransportPriority other)
 Compares for equality More...
 

Properties

int Value [get]
 This policy is a hint to the infrastructure as to how to set the priority of the underlying transport used to send the data. More...
 
static TransportPriority Default [get]
 Singleton containing the default value of a TransportPriority More...
 

Detailed Description

Allows the application to take advantage of transports that are capable of sending messages with different priorities.

Constructor & Destructor Documentation

◆ TransportPriority()

Rti.Dds.Core.Policy.TransportPriority.TransportPriority ( int  value)

Creates a new instance

Parameters
valueThe priority value

Member Function Documentation

◆ With()

TransportPriority Rti.Dds.Core.Policy.TransportPriority.With ( Action< TransportPriorityBuilder build)
inline

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

◆ GetHashCode()

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

Gets the hash code

◆ Equals() [1/2]

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

Compares for equality

◆ Equals() [2/2]

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

Compares for equality

Property Documentation

◆ Value

int Rti.Dds.Core.Policy.TransportPriority.Value
get

This policy is a hint to the infrastructure as to how to set the priority of the underlying transport used to send the data.

The full documentation is available in the C API: DDS_TransportPriorityQosPolicy_value

◆ Default

TransportPriority Rti.Dds.Core.Policy.TransportPriority.Default
staticget

Singleton containing the default value of a TransportPriority