RTI Connext C# API  6.1.2
Durability Class Reference

This QoS policy specifies whether or not DDS will store and deliver previously published data samples to new Subscription.DataReader<T> entities that join the network later. More...

Inherits IEquatable< Durability >.

Public Member Functions

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

Static Public Attributes

const int AutoWriterDepth
 A special value used as the default for WriterDepth. More...
 

Properties

DurabilityKind Kind [get]
 The kind of durability. More...
 
bool DirectCommunication [get]
 Indicates whether or not a TRANSIENT or PERSISTENT Subscription.DataReader<T> should receive samples directly from a TRANSIENT or PERSISTENT Publication.DataWriter<T> More...
 
int WriterDepth [get]
 Indicates the number of samples a durable Publication.DataWriter<T> will send to a late joining Subscription.DataReader<T>. More...
 
static Durability Default [get]
 Singleton containing the default value of a Durability More...
 

Detailed Description

This QoS policy specifies whether or not DDS will store and deliver previously published data samples to new Subscription.DataReader<T> entities that join the network later.

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( Durability  other)

Compares for equality

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

Durability With ( Action< DurabilityBuilder build)

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

Member Data Documentation

◆ AutoWriterDepth

const int AutoWriterDepth
static

A special value used as the default for WriterDepth.

The full documentation is available in the C API: @idref_DurabilityQosPolicy_AUTO_WRITER_DEPTH

Property Documentation

◆ Default

Durability Default
staticget

Singleton containing the default value of a Durability

◆ DirectCommunication

bool DirectCommunication
get

Indicates whether or not a TRANSIENT or PERSISTENT Subscription.DataReader<T> should receive samples directly from a TRANSIENT or PERSISTENT Publication.DataWriter<T>

The full documentation is available in the C API: DDS_DurabilityQosPolicy::direct_communication

◆ Kind

DurabilityKind Kind
get

The kind of durability.

The full documentation is available in the C API: DDS_DurabilityQosPolicy::kind

◆ WriterDepth

int WriterDepth
get

Indicates the number of samples a durable Publication.DataWriter<T> will send to a late joining Subscription.DataReader<T>.

The full documentation is available in the C API: DDS_DurabilityQosPolicy::writer_depth