RTI Connext Java API  Version 5.3.1
 All Classes Namespaces Functions Variables Groups Pages
PublicationMatchedStatus Class Reference

com.rti.dds.infrastructure.StatusKind.StatusKind.PUBLICATION_MATCHED_STATUS More...

Inherits Status.

Public Attributes

int total_count
 The total cumulative number of times the concerned com.rti.dds.publication.DataWriter discovered a "match" with a com.rti.dds.subscription.DataReader.
 
int total_count_change
 The incremental changes in total_count since the last time the listener was called or the status was read.
 
int current_count
 The current number of readers with which the com.rti.dds.publication.DataWriter 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_subscription_handle
 A handle to the last com.rti.dds.subscription.DataReader that caused the the com.rti.dds.publication.DataWriter's status to change.
 

Additional Inherited Members

- Public Member Functions inherited from Struct
abstract boolean equals (Object obj)
 
abstract int hashCode ()
 
String toString ()
 
- 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

com.rti.dds.infrastructure.StatusKind.StatusKind.PUBLICATION_MATCHED_STATUS

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

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

Member Data Documentation

int total_count

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

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

int total_count_change

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

int current_count

The current number of readers with which the com.rti.dds.publication.DataWriter is matched.

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

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_subscription_handle

A handle to the last com.rti.dds.subscription.DataReader that caused the the com.rti.dds.publication.DataWriter's status to change.


RTI Connext Java API Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc