RTI Connext C# API  6.1.0
InstanceReplacementSettings Class Reference

Instance replacement kind applied to each instance state. More...

Inherits IEquatable< InstanceReplacementSettings >.

Public Member Functions

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

Properties

InstanceRemovalKind AliveInstanceRemoval [get]
 Removal kind applied to alive Omg.Dds.Subscription.InstanceState.Alive)) instances. More...
 
InstanceRemovalKind DisposedInstanceRemoval [get]
 Removal kind applied to disposed (Omg.Dds.Subscription.InstanceState.NotAliveDisposed) instances. More...
 
InstanceRemovalKind NoWritersInstanceRemoval [get]
 Removal kind applied to fully-unregistered (Omg.Dds.Subscription.InstanceState.NotAliveNoWriters) instances. More...
 
static InstanceReplacementSettings Default [get]
 Singleton containing the default value of a InstanceReplacementSettings More...
 

Detailed Description

Instance replacement kind applied to each instance state.

The full documentation is available in the C API: DDS_DataReaderResourceLimitsInstanceReplacementSettings

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( InstanceReplacementSettings  other)

Compares for equality

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

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

Property Documentation

◆ AliveInstanceRemoval

InstanceRemovalKind AliveInstanceRemoval
get

Removal kind applied to alive Omg.Dds.Subscription.InstanceState.Alive)) instances.

The full documentation is available in the C API: DDS_DataReaderResourceLimitsInstanceReplacementSettings::alive_instance_removal

◆ Default

InstanceReplacementSettings Default
staticget

Singleton containing the default value of a InstanceReplacementSettings

◆ DisposedInstanceRemoval

InstanceRemovalKind DisposedInstanceRemoval
get

Removal kind applied to disposed (Omg.Dds.Subscription.InstanceState.NotAliveDisposed) instances.

The full documentation is available in the C API: DDS_DataReaderResourceLimitsInstanceReplacementSettings::disposed_instance_removal

◆ NoWritersInstanceRemoval

InstanceRemovalKind NoWritersInstanceRemoval
get

Removal kind applied to fully-unregistered (Omg.Dds.Subscription.InstanceState.NotAliveNoWriters) instances.

The full documentation is available in the C API: DDS_DataReaderResourceLimitsInstanceReplacementSettings::no_writers_instance_removal