OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.omg.dds.topic.TopicAdapter< TYPE > Class Template Reference

A convenience class TopicAdapter is offered which has an empty implementation of all org.omg.dds.topic.TopicListener callback functions when the application extends from this class only the used callback functions that the user wants to use need to be implemented. More...

Inheritance diagram for org.omg.dds.topic.TopicAdapter< TYPE >:
Inheritance graph
Collaboration diagram for org.omg.dds.topic.TopicAdapter< TYPE >:
Collaboration graph

Public Member Functions

void onInconsistentTopic (InconsistentTopicEvent< TYPE > status)
 This operation is the external operation (interface, which must be implemented by the application) that is called by the Data Distribution Service when the org.omg.dds.core.status.InconsistentTopicStatus changes. More...
 

Detailed Description

A convenience class TopicAdapter is offered which has an empty implementation of all org.omg.dds.topic.TopicListener callback functions when the application extends from this class only the used callback functions that the user wants to use need to be implemented.

Definition at line 28 of file TopicAdapter.java.

Member Function Documentation

◆ onInconsistentTopic()

void org.omg.dds.topic.TopicAdapter< TYPE >.onInconsistentTopic ( InconsistentTopicEvent< TYPE >  status)

This operation is the external operation (interface, which must be implemented by the application) that is called by the Data Distribution Service when the org.omg.dds.core.status.InconsistentTopicStatus changes.

The implementation may be left empty when this functionality is not needed. This operation will only be called when the relevant TopicListener is installed and enabled for the InconsistentTopicStatus. The InconsistentTopicStatus will change when another Topic exists with the same topicName but different characteristics. The Data Distribution Service will call the TopicListener operation with a parameter status, which will contain the InconsistentTopicStatus struct.

Parameters
statusContains the InconsistentTopicStatus object (this is an input to the application).

Implements org.omg.dds.topic.TopicListener< TYPE >.

Definition at line 30 of file TopicAdapter.java.


The documentation for this class was generated from the following file: