You can access individual communication status for a DataReader with the operations shown in .
Use this operation... |
...to retrieve this status: |
All of the above |
|
See StatusConditions |
These methods are useful in the event that no Listener callback is set to receive notifications of status changes. If a Listener is used, the callback will contain the new status information, in which case calling these methods is unlikely to be necessary.
The get_status_changes() operation provides a list of statuses that have changed since the last time the status changes were ‘reset.’ A status change is reset each time the application calls the corresponding get_*_status(), as well as each time Connext DDS returns from calling the Listener callback associated with that status.
For more on status, see Setting Up DataReaderListeners, Statuses for DataReaders, and Listeners.
© 2016 RTI