TopicListener Interface Reference
[Topics]

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

Inheritance diagram for TopicListener:

Listener DomainParticipantListener TopicAdapter DomainParticipantAdapter

List of all members.

Public Member Functions

void on_inconsistent_topic (Topic topic, InconsistentTopicStatus status)
 Handle the StatusKind.INCONSISTENT_TOPIC_STATUS status.


Detailed Description

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

Entity:
com.rti.dds.topic.Topic
Status:
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

void on_inconsistent_topic ( Topic  topic,
InconsistentTopicStatus  status 
)

Handle the 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.


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