RTI Connext C# API  6.1.0
LivelinessChangedStatus Class Reference

Indicates that the liveliness of one or more matched Publication.DataWriter<T> has changed. More...

Inherits IEquatable< LivelinessChangedStatus >.

Public Member Functions

override int GetHashCode ()
 Gets the hash code. More...
 
override bool Equals (object other)
 Compares for equality. More...
 
bool Equals (LivelinessChangedStatus other)
 Compares for equality. More...
 
override string ToString ()
 Returns a readable summary of the status More...
 

Properties

EventCount< int > AliveCount [get]
 Number of matched Publication.DataWriter<T> that are currently alive. More...
 
EventCount< int > NotAliveCount [get]
 Number of matched Publication.DataWriter<T> that are not currently alive. More...
 
InstanceHandle LastPublicationHandle [get]
 This InstanceHandle can be used to look up which remote Publication.DataWriter<T> was the last to cause this Subscription.DataReader<T>'s status to change, using Subscription.AnyDataReader.GetMatchedPublicationData(). More...
 

Detailed Description

Indicates that the liveliness of one or more matched Publication.DataWriter<T> has changed.

The full documentation is available in the C API: DDS_LivelinessChangedStatus

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( LivelinessChangedStatus  other)

Compares for equality.

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality.

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code.

◆ ToString()

override string ToString ( )

Returns a readable summary of the status

Property Documentation

◆ AliveCount

EventCount<int> AliveCount
get

Number of matched Publication.DataWriter<T> that are currently alive.

The full documentation is available in the C API: DDS_LivelinessChangedStatus::alive_count

◆ LastPublicationHandle

InstanceHandle LastPublicationHandle
get

This InstanceHandle can be used to look up which remote Publication.DataWriter<T> was the last to cause this Subscription.DataReader<T>'s status to change, using Subscription.AnyDataReader.GetMatchedPublicationData().

The full documentation is available in the C API: DDS_LivelinessChangedStatus

◆ NotAliveCount

EventCount<int> NotAliveCount
get

Number of matched Publication.DataWriter<T> that are not currently alive.

The full documentation is available in the C API: DDS_LivelinessChangedStatus::not_alive_count