RTI Connext Java API  Version 6.1.1
ReliableReaderActivityChangedStatus Class Reference

<<extension>> Describes the activity (i.e. are acknowledgements forthcoming) of reliable readers matched to a reliable writer. More...

Inherits Status.

Public Member Functions

 ReliableReaderActivityChangedStatus ()
 Construct a new status object with default contents. More...
 
 ReliableReaderActivityChangedStatus (ReliableReaderActivityChangedStatus src)
 Construct a new status identical to the given status. More...
 

Public Attributes

int active_count
 The current number of reliable readers currently matched with this reliable writer. More...
 
int inactive_count
 The number of reliable readers that have been dropped by this reliable writer because they failed to send acknowledgements in a timely fashion. More...
 
int active_count_change
 The most recent change in the number of active remote reliable readers. More...
 
int inactive_count_change
 The most recent change in the number of inactive remote reliable readers. More...
 
final InstanceHandle_t last_instance_handle
 The instance handle of the last reliable remote reader to be determined inactive. More...
 

Detailed Description

<<extension>> Describes the activity (i.e. are acknowledgements forthcoming) of reliable readers matched to a reliable writer.

Entity:
com.rti.dds.publication.DataWriter
Listener:
com.rti.dds.publication.DataWriterListener

This status is the reciprocal status to the com.rti.dds.subscription.LivelinessChangedStatus on the reader. It is different than the com.rti.dds.publication.LivelinessLostStatus on the writer in that the latter informs the writer about its own liveliness; this status informs the writer about the "liveliness" (activity) of its matched readers.

All counts in this status will remain at zero for best effort writers.

Constructor & Destructor Documentation

◆ ReliableReaderActivityChangedStatus() [1/2]

Construct a new status object with default contents.

Referenced by ReliableReaderActivityChangedStatus.ReliableReaderActivityChangedStatus().

◆ ReliableReaderActivityChangedStatus() [2/2]

Member Data Documentation

◆ active_count

int active_count

The current number of reliable readers currently matched with this reliable writer.

Referenced by ReliableReaderActivityChangedStatus.ReliableReaderActivityChangedStatus().

◆ inactive_count

int inactive_count

The number of reliable readers that have been dropped by this reliable writer because they failed to send acknowledgements in a timely fashion.

A reader is considered to be inactive after is has been sent heartbeats com.rti.dds.infrastructure.RtpsReliableWriterProtocol_t.max_heartbeat_retries times, each heartbeat having been separated from the previous by the current heartbeat period.

Referenced by ReliableReaderActivityChangedStatus.ReliableReaderActivityChangedStatus().

◆ active_count_change

int active_count_change

The most recent change in the number of active remote reliable readers.

Referenced by ReliableReaderActivityChangedStatus.ReliableReaderActivityChangedStatus().

◆ inactive_count_change

int inactive_count_change

The most recent change in the number of inactive remote reliable readers.

Referenced by ReliableReaderActivityChangedStatus.ReliableReaderActivityChangedStatus().

◆ last_instance_handle

final InstanceHandle_t last_instance_handle

The instance handle of the last reliable remote reader to be determined inactive.

Referenced by ReliableReaderActivityChangedStatus.ReliableReaderActivityChangedStatus().