The DataAvailableEvent status change becomes TRUE when either a data-sample arrives or else the ViewState, SampleState, or InstanceState of any existing sample changes for any reason other than a call to DataReader#read(), DataReader#take() or their variants.
Specifically any of the following events will cause the DataAvailableStatus to become TRUE:
-
The arrival of new data.
-
A change in the InstanceState of a contained instance. This can be caused by either:
-
The arrival of the notification that an instance has been disposed by:
-
The loss of liveliness of the DataWriter of an instance for which there is no other DataWriter.
-
The arrival of the notification that an instance has been unregistered by the only DataWriter that is known to be writing the instance.
Any of the following events will cause the DataAvailableStatus to become FALSE:
-
The DataAvailableStatus becomes FALSE when either the corresponding listener operation (onDataAvailable) is called or the read or take operation (or their variants) is called on the associated DataReader.
-
The DataOnReadersStatus becomes FALSE when any of the following events occurs:
-
The corresponding listener operation (onDataOnReaders) is called.
-
The onDataAvailable listener operation is called on any DataReader belonging to the Subscriber.
-
The read or take operation (or their variants) is called on any DataReader belonging to the Subscriber.
- Parameters
-
- See also
- DataOnReadersEvent
-
DataAvailableStatus
Definition at line 66 of file DataAvailableEvent.java.