RTI Connext C# API  6.1.0
ReaderDataLifecycle Class Reference

Controls how a Subscription.DataReader<T> manages the lifecycle of the data that it has received. More...

Inherits IEquatable< ReaderDataLifecycle >.

Public Member Functions

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

Properties

Duration AutopurgeNowriterSamplesDelay [get]
 Minimum duration for which the Subscription.DataReader<T> will maintain information regarding an instance once its instance_state becomes Omg.Dds.Subscription.InstanceState.NotAliveNoWriters. More...
 
Duration AutopurgeDisposedSamplesDelay [get]
 Minimum duration for which the Subscription.DataReader<T> will maintain samples for an instance once its instance_state becomes Omg.Dds.Subscription.InstanceState.NotAliveDisposed. More...
 
Duration AutopurgeDisposedInstancesDelay [get]
 Minimum duration for which the Subscription.DataReader<T> will maintain information about a received instance once its instance_state becomes Omg.Dds.Subscription.InstanceState.NotAliveDisposed and there are no samples for the instance in the DataReader queue. More...
 
Duration AutopurgeNowriterInstancesDelay [get]
 Minimum duration for which the Subscription.DataReader<T> will maintain information about a received instance once its instance_state becomes Omg.Dds.Subscription.InstanceState.NotAliveNoWriters and there are no samples for the instance in the DataReader queue. More...
 
static ReaderDataLifecycle Default [get]
 Singleton containing the default value of a ReaderDataLifecycle More...
 

Detailed Description

Controls how a Subscription.DataReader<T> manages the lifecycle of the data that it has received.

The full documentation is available in the C API: DDS_ReaderDataLifecycleQosPolicy

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Equals ( ReaderDataLifecycle  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

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

Property Documentation

◆ AutopurgeDisposedInstancesDelay

Duration AutopurgeDisposedInstancesDelay
get

Minimum duration for which the Subscription.DataReader<T> will maintain information about a received instance once its instance_state becomes Omg.Dds.Subscription.InstanceState.NotAliveDisposed and there are no samples for the instance in the DataReader queue.

The full documentation is available in the C API: DDS_ReaderDataLifecycleQosPolicy::autopurge_disposed_instances_delay

◆ AutopurgeDisposedSamplesDelay

Duration AutopurgeDisposedSamplesDelay
get

Minimum duration for which the Subscription.DataReader<T> will maintain samples for an instance once its instance_state becomes Omg.Dds.Subscription.InstanceState.NotAliveDisposed.

The full documentation is available in the C API: DDS_ReaderDataLifecycleQosPolicy::autopurge_disposed_samples_delay

◆ AutopurgeNowriterInstancesDelay

Duration AutopurgeNowriterInstancesDelay
get

Minimum duration for which the Subscription.DataReader<T> will maintain information about a received instance once its instance_state becomes Omg.Dds.Subscription.InstanceState.NotAliveNoWriters and there are no samples for the instance in the DataReader queue.

The full documentation is available in the C API: DDS_ReaderDataLifecycleQosPolicy::autopurge_nowriter_instances_delay

◆ AutopurgeNowriterSamplesDelay

Duration AutopurgeNowriterSamplesDelay
get

Minimum duration for which the Subscription.DataReader<T> will maintain information regarding an instance once its instance_state becomes Omg.Dds.Subscription.InstanceState.NotAliveNoWriters.

The full documentation is available in the C API: DDS_ReaderDataLifecycleQosPolicy::autopurge_nowriter_samples_delay

◆ Default

ReaderDataLifecycle Default
staticget

Singleton containing the default value of a ReaderDataLifecycle