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

◆ With()

Liveliness Rti.Dds.Core.Policy.Liveliness.With ( Action< LivelinessBuilder build)
inline

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

◆ GetHashCode()

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

Gets the hash code

◆ Equals() [1/2]

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

Compares for equality

◆ Equals() [2/2]

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

Compares for equality

Property Documentation

◆ Kind

LivelinessKind Rti.Dds.Core.Policy.Liveliness.Kind
get

The kind of liveliness desired.

The full documentation is available in the C API: DDS_LivelinessQosPolicy_kind

◆ LeaseDuration

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

◆ AssertionsPerLeaseDuration

int Rti.Dds.Core.Policy.Liveliness.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 Rti.Dds.Core.Policy.Liveliness.Default
staticget

Singleton containing the default value of a Liveliness