Indicates the level of reliability offered/provided by the Entity. If kind is RELIABLE_RELIABILITY_QOS, then the middleware will attempt to deliver all samples in the history cache. If samples are not received, then they will be retried. More...
Public Attributes | |
ReliabilityQosPolicyKind | kind |
Duration_t | max_blocking_time |
The amount of time to block a DataWriter if a write() or similar operation is unable to complete. |
Indicates the level of reliability offered/provided by the Entity. If kind is RELIABLE_RELIABILITY_QOS, then the middleware will attempt to deliver all samples in the history cache. If samples are not received, then they will be retried.
A kind of BEST_EFFORT_RELIABILITY_QOS indicates that the middleware does not need to retry delivery of data samples.
The samples available in the history cache are affected by the HistoryQosPolicy, ResourceLimitsQosPolicy, and the DurabilityQosPolicy.
Note: If samples are removed from the history cache, then they are not be available to be resent.
ReliabilityQosPolicyKind kind |
Kind of Reliability
The amount of time to block a DataWriter if a write() or similar operation is unable to complete.
For a DataWriter, a write() or similar operation that attempts to add samples or instances to the data cache may be unable to complete under some ReliabilityQosPolicy, HistoryQosPolicy, and ResourceLimitsQosPolicy configurations. When this happens, the max_blocking_time will determine the amount of time the application should be blocked while attempting to complete the operation. If the operation is still unable to complete, an error is returned.
max_blocking_time may be 0, in which case an error is returned immediately if the operation is unable to complete.