RTI Connext Java API Version 7.1.0
TopicListener Interface Reference

<<interface>> com.rti.dds.infrastructure.Listener for com.rti.dds.topic.Topic entities. More...

Inheritance diagram for TopicListener:
Listener DomainParticipantListener TopicAdapter DomainParticipantAdapter

Public Member Functions

void on_inconsistent_topic (Topic topic, InconsistentTopicStatus status)
 Handle the com.rti.dds.infrastructure.StatusKind.StatusKind.INCONSISTENT_TOPIC_STATUS status. More...
 

Detailed Description

<<interface>> com.rti.dds.infrastructure.Listener for com.rti.dds.topic.Topic entities.

Entity:
com.rti.dds.topic.Topic
Status:
com.rti.dds.infrastructure.StatusKind.StatusKind.INCONSISTENT_TOPIC_STATUS, com.rti.dds.topic.InconsistentTopicStatus

This is the interface that can be implemented by an application-provided class and then registered with the com.rti.dds.topic.Topic such that the application can be notified by RTI Connext of relevant status changes.

See also
Status Kinds
com.rti.dds.infrastructure.Listener
com.rti.dds.topic.Topic.set_listener
Operations Allowed in Listener Callbacks

Member Function Documentation

◆ on_inconsistent_topic()

void on_inconsistent_topic ( Topic  topic,
InconsistentTopicStatus  status 
)

Handle the com.rti.dds.infrastructure.StatusKind.StatusKind.INCONSISTENT_TOPIC_STATUS status.

This callback is called when a remote com.rti.dds.topic.Topic is discovered but is inconsistent with the locally created com.rti.dds.topic.Topic of the same topic name.

Parameters
topic<<out>> Locally created com.rti.dds.topic.Topic that triggers the listener callback
status<<out>> Current inconsistent status of locally created com.rti.dds.topic.Topic

Implemented in DomainParticipantAdapter, and TopicAdapter.