CoreDX DDS
Java Reference Manual

DataWriterListener Interface Reference
[DDS Listeners]

The DataWriterListener provides asynchronous notification of DataWriter events. This listener can be installed during DataWriter creation, Publisher_create_datawriter(), as well as by calling DataWriter_set_listener(). More...

List of all members.

Public Member Functions

void on_offered_incompatible_qos (DataWriter writer, OfferedIncompatibleQosStatus status)
void on_liveliness_lost (DataWriter writer, LivelinessLostStatus status)
void on_publication_matched (DataWriter writer, PublicationMatchedStatus status)
long get_nil_mask ()

Package Functions

void on_offered_deadline_missed (DataWriter writer, OfferedDeadlineMissedStatus status)

Detailed Description

The DataWriterListener provides asynchronous notification of DataWriter events. This listener can be installed during DataWriter creation, Publisher_create_datawriter(), as well as by calling DataWriter_set_listener().


Member Function Documentation

long get_nil_mask (  ) 

get_nil_mask() returns a bitmask indicating which listener methods (if any) should be considered NIL, and therefore, should not be invoked.

void on_liveliness_lost ( DataWriter  writer,
LivelinessLostStatus  status 
)

Called when the CoreDX DDS middleware detects that the DataWriter has not satisfied its LIVELINESS QoS setting.

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

void on_offered_deadline_missed ( DataWriter  writer,
OfferedDeadlineMissedStatus  status 
) [package]

Called when the CoreDX DDS middleware detects that the deadline that the DDS_DataWriter has offered Through the DEADLINE QoS was not satisfied. That is, the DataWriter has failed to update an instance with the frequency specified in the DEADLINE QoS.

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

void on_offered_incompatible_qos ( DataWriter  writer,
OfferedIncompatibleQosStatus  status 
)

Called when the CoreDX DDS middleware detects that the DataWriter has offered a QoS policy setting that is incompatible with that requested by a potentially matching DataReader.

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

void on_publication_matched ( DataWriter  writer,
PublicationMatchedStatus  status 
)

Called when the CoreDX DDS middleware detects that the DataWriter has matched with a DataReader or has ceased to be matched with a DataReader.

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

 All Classes Functions Variables

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