CoreDX DDS C Reference Manual
Public Attributes | List of all members
DDS_PublisherListener_cd Struct Reference

The DDS_PublisherListener_cd provides asynchronous notification of DDS_Publisher events with additionall callback data. More...

Public Attributes

void(* on_offered_deadline_missed )(struct DDS_PublisherListener_cd *self, DDS_DataWriter writer, DDS_OfferedDeadlineMissedStatus status, void *callback_data)
 
void(* on_offered_incompatible_qos )(struct DDS_PublisherListener_cd *self, DDS_DataWriter writer, DDS_OfferedIncompatibleQosStatus status, void *callback_data)
 
void(* on_liveliness_lost )(struct DDS_PublisherListener_cd *self, DDS_DataWriter writer, DDS_LivelinessLostStatus status, void *callback_data)
 
void(* on_publication_matched )(struct DDS_PublisherListener_cd *self, DDS_DataWriter writer, DDS_PublicationMatchedStatus status, void *callback_data)
 

Detailed Description

The DDS_PublisherListener_cd provides asynchronous notification of DDS_Publisher events with additionall callback data.

This listener can be installed by calling DDS_Publisher_set_listener_cd().

Note
The listener callback methods should be lightweight and should not block. If a callback method blocks, it will block all other callback operations within the same DomainParticipant.

Member Data Documentation

void(* DDS_PublisherListener_cd::on_liveliness_lost) (struct DDS_PublisherListener_cd *self, DDS_DataWriter writer, DDS_LivelinessLostStatus status, void *callback_data)

on_liveliness_lost() is called when the CoreDX DDS middleware detects that a DataWriter contained in the Publisher has not satisfied its LIVELINESS QoS setting. This listener is invoked only if the concerned DDS_DataWriter does not have an on_offered_deadline_missed listener installed.

The status argument provides a snapshot of the status at the time the listener was invoked.

void(* DDS_PublisherListener_cd::on_offered_deadline_missed) (struct DDS_PublisherListener_cd *self, DDS_DataWriter writer, DDS_OfferedDeadlineMissedStatus status, void *callback_data)

on_offered_deadline_missed() is called when the CoreDX DDS middleware detects that a DataWriter contained in the Publisher has failed to meet its DEADLINE QoS commitment. This listener is invoked only if the concerned DDS_DataWriter does not have an on_offered_deadline_missed listener installed.

The status argument provides a snapshot of the status at the time the listener was invoked.

void(* DDS_PublisherListener_cd::on_offered_incompatible_qos) (struct DDS_PublisherListener_cd *self, DDS_DataWriter writer, DDS_OfferedIncompatibleQosStatus status, void *callback_data)

on_offered_incompatible_qos() is called when the CoreDX DDS middleware detects that a DataWriter contained in the Publisher has offered a QoS policy setting that is incompatible with that requested by a potentially matching DataReader. This listener is invoked only if the concerned DDS_DataWriter does not have an on_offered_deadline_missed listener installed.

The status argument provides a snapshot of the status at the time the listener was invoked.

void(* DDS_PublisherListener_cd::on_publication_matched) (struct DDS_PublisherListener_cd *self, DDS_DataWriter writer, DDS_PublicationMatchedStatus status, void *callback_data)

on_publication_matched() is called when the CoreDX DDS middleware detects that a DataWriter contained in the Publisher has matched with a DataReader or has ceased to be matched with a DataReader. This listener is invoked only if the concerned DDS_DataWriter does not have an on_offered_deadline_missed listener installed.

The status argument provides a snapshot of the status at the time the listener was invoked.


© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.