OpenSplice C# API  v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
DDS.IPublisherListener Interface Reference

Since a Publisher is an Entity, it has the ability to have a Listener associated with it. In this case, the associated Listener should be of type IPublisherListener. This interface must be implemented by the application. A user-defined class must be provided by the application which must extend from the IPublisherListener class. All operations for this interface must be implemented in the user-defined class, it is up to the application whether an operation is empty or contains some functionality. The IPublisherListener provides a generic mechanism (actually a callback function) for the Data Distribution Service to notify the application of relevant asynchronous status change events, such as a missed deadline, violation of a QosPolicy setting, etc. The IPublisherListener is related to changes in communication status StatusConditions. More...

Inheritance diagram for DDS.IPublisherListener:
Inheritance graph
Collaboration diagram for DDS.IPublisherListener:
Collaboration graph

Additional Inherited Members

- Public Member Functions inherited from DDS.IDataWriterListener
void OnLivelinessLost (IDataWriter entityInterface, LivelinessLostStatus status)
 This operation is called by the Data Distribution Service when the LivelinessLostStatus changes. More...
 
void OnOfferedDeadlineMissed (IDataWriter entityInterface, OfferedDeadlineMissedStatus status)
 This operation is called by the Data Distribution Service when the OfferedDeadlineMissedStatus changes. More...
 
void OnOfferedIncompatibleQos (IDataWriter entityInterface, OfferedIncompatibleQosStatus status)
 This operation called by the Data Distribution Service when the OfferedIncompatibleQosStatus changes. More...
 
void OnPublicationMatched (IDataWriter entityInterface, PublicationMatchedStatus status)
 This operation is called by the Data Distribution Service when a new match has been discovered for the current publication, or when an existing match has ceased to exist. More...
 

Detailed Description

Since a Publisher is an Entity, it has the ability to have a Listener associated with it. In this case, the associated Listener should be of type IPublisherListener. This interface must be implemented by the application. A user-defined class must be provided by the application which must extend from the IPublisherListener class. All operations for this interface must be implemented in the user-defined class, it is up to the application whether an operation is empty or contains some functionality. The IPublisherListener provides a generic mechanism (actually a callback function) for the Data Distribution Service to notify the application of relevant asynchronous status change events, such as a missed deadline, violation of a QosPolicy setting, etc. The IPublisherListener is related to changes in communication status StatusConditions.

public class MyPublisherListener : DDS.IPublisherListener
{
{
Console.WriteLine("OnPublicationMatched");
}
}

Definition at line 6093 of file DdsDcpsInterfaces.cs.


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