![]() |
OpenSplice C# API
v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
|
Proprietary QoS Policy for automatically remove samples from the DataReader after a specified timeout. More...
Public Attributes | |
Duration | Duration |
bool | UseLifespan |
Proprietary QoS Policy for automatically remove samples from the DataReader after a specified timeout.
This QosPolicy is similar to the Lifespan QosPolicy (applicable to Topic and DataWriter), but limited to the DataReader on which the QosPolicy is applied. The data is automatically removed from the DataReader if it has not been taken yet after the lifespan duration expires. The duration of the ReaderLifespan is added to the insertion time of the data in the DataReader to determine the expiry time.
When both the ReaderLifespan QosPolicy and a DataWriter’s Lifespan QosPolicy are applied to the same data, only the earliest expiry time is taken into account.
By default, the ReaderLifespan QosPolicy is not used and use_lifespan is false.
The duration is set to DDS.Duration.Infinite.
Definition at line 1604 of file DdsDcpsStructs.cs.
Duration DDS.ReaderLifespanQosPolicy.Duration |
Definition at line 1607 of file DdsDcpsStructs.cs.
bool DDS.ReaderLifespanQosPolicy.UseLifespan |
Definition at line 1606 of file DdsDcpsStructs.cs.