RTI Connext C# API  6.1.0
WriterDataLifecycle Class Reference

Controls how a Publication.DataWriter<T> handles the lifecycle of the instances (keys) that it writes. More...

Inherits IEquatable< WriterDataLifecycle >.

Public Member Functions

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

Properties

bool AutodisposeUnregisteredInstances [get]
 Boolean flag that controls the behavior when the Publication.DataWriter<T> unregisters an instance by means of the unregister operations. More...
 
Duration AutopurgeUnregisteredInstancesDelay [get]
 Maximum duration for which the Publication.DataWriter<T> will maintain information regarding an instance once it has unregistered the instance. More...
 
Duration AutopurgeDisposedInstancesDelay [get]
 Maximum duration for which the Publication.DataWriter<T> will maintain information regarding an instance once it has disposed the instance. More...
 
static WriterDataLifecycle Default [get]
 Singleton containing the default value of a WriterDataLifecycle More...
 

Detailed Description

Controls how a Publication.DataWriter<T> handles the lifecycle of the instances (keys) that it writes.

The full documentation is available in the C API: DDS_WriterDataLifecycleQosPolicy

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Equals ( WriterDataLifecycle  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

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

Property Documentation

◆ AutodisposeUnregisteredInstances

bool AutodisposeUnregisteredInstances
get

Boolean flag that controls the behavior when the Publication.DataWriter<T> unregisters an instance by means of the unregister operations.

The full documentation is available in the C API: DDS_WriterDataLifecycleQosPolicy::autodispose_unregistered_instances

◆ AutopurgeDisposedInstancesDelay

Duration AutopurgeDisposedInstancesDelay
get

Maximum duration for which the Publication.DataWriter<T> will maintain information regarding an instance once it has disposed the instance.

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

◆ AutopurgeUnregisteredInstancesDelay

Duration AutopurgeUnregisteredInstancesDelay
get

Maximum duration for which the Publication.DataWriter<T> will maintain information regarding an instance once it has unregistered the instance.

The full documentation is available in the C API: DDS_WriterDataLifecycleQosPolicy::autopurge_unregistered_instances_delay

◆ Default

WriterDataLifecycle Default
staticget

Singleton containing the default value of a WriterDataLifecycle