SubscriptionMatchedStatus Class Reference
[DataReaders]

StatusKind.SUBSCRIPTION_MATCHED_STATUS. More...

Inherits Status.

List of all members.

Public Attributes

int total_count
 The total cumulative number of times the concerned com.rti.dds.subscription.DataReader discovered a "match" with a com.rti.dds.publication.DataWriter.
int total_count_change
 The change in total_count since the last time the listener was called or the status was read.
int current_count
 The current number of writers with which the com.rti.dds.subscription.DataReader is matched.
int current_count_peak
 <<eXtension>> The highest value that current_count has reached until now.
int current_count_change
 The change in current_count since the last time the listener was called or the status was read.
final InstanceHandle_t last_publication_handle
 A handle to the last com.rti.dds.publication.DataWriter that caused the status to change.


Detailed Description

StatusKind.SUBSCRIPTION_MATCHED_STATUS.

A "match" happens when the com.rti.dds.subscription.DataReader finds a com.rti.dds.publication.DataWriter for the same com.rti.dds.topic.Topic with an offered QoS that is compatible with that requested by the com.rti.dds.subscription.DataReader.

This status is also changed (and the listener, if any, called) when a match is ended. A local com.rti.dds.subscription.DataReader will become "unmatched" from a remote com.rti.dds.publication.DataWriter when that com.rti.dds.publication.DataWriter goes away for any reason.


Member Data Documentation

The total cumulative number of times the concerned com.rti.dds.subscription.DataReader discovered a "match" with a com.rti.dds.publication.DataWriter.

This number increases whenever a new match is discovered. It does not change when an existing match goes away.

The change in total_count since the last time the listener was called or the status was read.

The current number of writers with which the com.rti.dds.subscription.DataReader is matched.

This number increases when a new match is discovered and decreases when an existing match goes away.

<<eXtension>> The highest value that current_count has reached until now.

The change in current_count since the last time the listener was called or the status was read.

A handle to the last com.rti.dds.publication.DataWriter that caused the status to change.


RTI Connext Java API Version 4.5f Copyright © 17 Mar 2012 Real-Time Innovations, Inc