RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.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

◆ With()

ReaderDataLifecycle Rti.Dds.Core.Policy.ReaderDataLifecycle.With ( Action< ReaderDataLifecycleBuilder build)
inline

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

◆ GetHashCode()

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

Gets the hash code

◆ Equals() [1/2]

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

Compares for equality

◆ Equals() [2/2]

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

Compares for equality

Property Documentation

◆ AutopurgeNowriterSamplesDelay

Duration Rti.Dds.Core.Policy.ReaderDataLifecycle.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

◆ AutopurgeDisposedSamplesDelay

Duration Rti.Dds.Core.Policy.ReaderDataLifecycle.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

◆ AutopurgeDisposedInstancesDelay

Duration Rti.Dds.Core.Policy.ReaderDataLifecycle.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

◆ AutopurgeNowriterInstancesDelay

Duration Rti.Dds.Core.Policy.ReaderDataLifecycle.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

◆ Default

ReaderDataLifecycle Rti.Dds.Core.Policy.ReaderDataLifecycle.Default
staticget

Singleton containing the default value of a ReaderDataLifecycle