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

Extension of org.omg.dds.topic.TopicListener to provide callback to notify AllDataDisposedEvent as well. More...

Inheritance diagram for org.opensplice.dds.topic.TopicListener< TYPE >:
Inheritance graph
Collaboration diagram for org.opensplice.dds.topic.TopicListener< 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.TopicListener to provide callback to notify AllDataDisposedEvent as well.

Definition at line 29 of file TopicListener.java.

Member Function Documentation

◆ onAllDataDisposed()

void org.opensplice.dds.topic.TopicListener< 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.Topic::disposeAllData()

◆ onInconsistentTopic()

void org.omg.dds.topic.TopicListener< 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).

Implemented in org.omg.dds.topic.TopicAdapter< TYPE >.


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