19.1.3.2. DataWriterListener

class fastdds.DataWriterListener

Class DataWriterListener, allows the end user to implement callbacks triggered by certain events.

on_liveliness_lost(writer, status)

Method called when the liveliness of a DataWriter is lost

Parameters
  • writer (DataWriter) – Pointer to the associated DataWriter

  • status (LivelinessLostStatus) – The liveliness lost status

on_offered_deadline_missed(writer, status)

A method called when a deadline is missed

Parameters
  • writer (DataWriter) – Pointer to the associated DataWriter

  • status (OfferedDeadlineMissedStatus) – The deadline missed status

on_offered_incompatible_qos(writer, status)

A method called when an incompatible QoS is offered

Parameters
  • writer (DataWriter) – Pointer to the associated DataWriter

  • status (OfferedIncompatibleQosStatus) – The deadline missed status

on_publication_matched(writer, info)

This method is called when the DataWriter is matched (or unmatched) against an endpoint.

Parameters
on_unacknowledged_sample_removed(writer, instance)

Method called when a sample has been removed unacknowledged

Parameters
  • writer (DataWriter) – Pointer to the associated DataWriter

  • instance (InstanceHandle_t) – Handle to the instance the sample was removed from

property thisown

The membership flag