RTI Connext Java API  Version 5.0.0
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.
 
 ReliableReaderActivityChangedStatus (ReliableReaderActivityChangedStatus src)
 Construct a new status identical to the given status.
 

Public Attributes

int active_count
 The current number of reliable readers currently matched with this reliable writer.
 
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.
 
int active_count_change
 The most recent change in the number of active remote reliable readers.
 
int inactive_count_change
 The most recent change in the number of inactive remote reliable readers.
 
final InstanceHandle_t last_instance_handle
 The instance handle of the last reliable remote reader to be determined inactive.
 

Additional Inherited Members

- Protected Member Functions inherited from Struct
 Struct ()
 
abstract void pull_from_nativeI (long native_status)
 
abstract void push_to_nativeI (long native_status)
 

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

Construct a new status object with default contents.

Construct a new status identical to the given status.

Exceptions
NullPointerExceptionif the given status is null.

Member Data Documentation

int active_count

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

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.

int active_count_change

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

int inactive_count_change

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

final InstanceHandle_t last_instance_handle

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


RTI Connext Java API Version 5.0.0 Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc