RTI Connext C# API  6.1.2
Liveliness Class Reference

Configures the mechanism that allows Subscription.DataReader<T> entities to detect when Publication.DataWriter<T> entities become disconnected or "dead." More...

Inherits IEquatable< Liveliness >.

Public Member Functions

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

Properties

LivelinessKind Kind [get]
 The kind of liveliness desired. More...
 
Duration LeaseDuration [get]
 The duration within which a Publication.DataWriter<T> must be asserted, or else it is assumed to be not alive. More...
 
int AssertionsPerLeaseDuration [get]
 The number of assertions a Publication.DataWriter<T> will send during a its LeaseDuration. More...
 
static Liveliness Default [get]
 Singleton containing the default value of a Liveliness More...
 

Detailed Description

Configures the mechanism that allows Subscription.DataReader<T> entities to detect when Publication.DataWriter<T> entities become disconnected or "dead."

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( Liveliness  other)

Compares for equality

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

Liveliness With ( Action< LivelinessBuilder build)

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

Property Documentation

◆ AssertionsPerLeaseDuration

int AssertionsPerLeaseDuration
get

The number of assertions a Publication.DataWriter<T> will send during a its LeaseDuration.

The full documentation is available in the C API: DDS_LivelinessQosPolicy::assertions_per_lease_duration

◆ Default

Liveliness Default
staticget

Singleton containing the default value of a Liveliness

◆ Kind

LivelinessKind Kind
get

The kind of liveliness desired.

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

◆ LeaseDuration

Duration LeaseDuration
get

The duration within which a Publication.DataWriter<T> must be asserted, or else it is assumed to be not alive.

The full documentation is available in the C API: DDS_LivelinessQosPolicy::lease_duration