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

Extension of org.omg.dds.topic.TopicAdapter to provide empty implementation for onAllDataDisposed as well. More...

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

Public Member Functions

void onAllDataDisposed (AllDataDisposedEvent< TYPE > status)
 Called whenever org.opensplice.dds.topic.Topic#disposeAllData() has been performed. More...
 
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

Extension of org.omg.dds.topic.TopicAdapter to provide empty implementation for onAllDataDisposed as well.

Definition at line 29 of file TopicAdapter.java.

Member Function Documentation

◆ onAllDataDisposed()

void org.opensplice.dds.topic.TopicAdapter< TYPE >.onAllDataDisposed ( AllDataDisposedEvent< TYPE >  status)

Called whenever org.opensplice.dds.topic.Topic#disposeAllData() has been performed.

See also
org.opensplice.dds.core.event.AllDataDisposedEvent
org.opensplice.dds.topic.TopicListener
org.opensplice.dds.topic.Topic::disposeAllData()

Definition at line 41 of file TopicAdapter.java.

◆ onInconsistentTopic()

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

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: