|
CoreDX DDS for Java from Twin Oaks Computing, Inc. |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface DataReaderListener
The DDS_DataReaderListener provides asynchronous notification of DDS_DataReader events. his listener can be installed during DataReader creation, DDS_DomainParticipant_create_yyy(), as well as by calling DDS_DataReader_set_listener().
| Method Summary | |
|---|---|
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_data_available(DataReader the_reader)
Called when the CoreDX infrastructure detects that new data or data state information is available. |
void |
on_liveliness_changed(DataReader the_reader,
LivelinessChangedStatus status)
Called when the CoreDX infrastructure detects that the liveliness of a matched DataWriter has changed (either 'active' or 'inactive'). |
void |
on_requested_deadline_missed(DataReader the_reader,
RequestedDeadlineMissedStatus status)
Called when the CoreDX infrastructure detects that the deadline specified in the DataReader QoS DEADLINE policy was not satisfied for a data instance. |
void |
on_requested_incompatible_qos(DataReader the_reader,
RequestedIncompatibleQosStatus status)
Called when the CoreDX infrastructure detects that the DataReader requested a QoS policy that was incompatible with that offered by a DataWriter. |
void |
on_sample_lost(DataReader the_reader,
SampleLostStatus status)
Called when the CoreDX infrastructure detects that a sample has been lost (never received). |
void |
on_sample_rejected(DataReader the_reader,
SampleRejectedStatus status)
Called when the CoreDX infrastructure detects that a sample has been rejected. |
void |
on_subscription_matched(DataReader the_reader,
SubscriptionMatchedStatus status)
Called when the CoreDX infrastructure detects that the DataReader has matched or ceased to be matched with a DataWriter. |
| Method Detail |
|---|
void on_requested_deadline_missed(DataReader the_reader,
RequestedDeadlineMissedStatus status)
The status argument provides a snapshot of the status at the time the listener was invoked.
void on_requested_incompatible_qos(DataReader the_reader,
RequestedIncompatibleQosStatus status)
The status argument provides a snapshot of the status at the time the listener was invoked.
void on_sample_rejected(DataReader the_reader,
SampleRejectedStatus status)
The status argument provides a snapshot of the status at the time the listener was invoked.
void on_liveliness_changed(DataReader the_reader,
LivelinessChangedStatus status)
The status argument provides a snapshot of the status at the time the listener was invoked.
void on_data_available(DataReader the_reader)
The status argument provides a snapshot of the status at the time the listener was invoked.
void on_subscription_matched(DataReader the_reader,
SubscriptionMatchedStatus status)
The status argument provides a snapshot of the status at the time the listener was invoked.
void on_sample_lost(DataReader the_reader,
SampleLostStatus status)
The status argument provides a snapshot of the status at the time the listener was invoked.
long get_nil_mask()
|
Copyright © 2010 Twin Oaks Computing, Inc, All Rights Reserved |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||