OpenSplice C# API  v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
DDS.SampleLostStatus Class Reference

Indicates that a sample has been lost. More...

Collaboration diagram for DDS.SampleLostStatus:
Collaboration graph

Public Attributes

int TotalCount
 Total cumulative count of all samples lost across of instances of data published under the Topic. More...
 
int TotalCountChange
 The incremental number of samples lost since the last time the listener was called or the status was read. More...
 

Detailed Description

Indicates that a sample has been lost.

A sample never reached the DataReader queue. The following events can lead to a sample lost status:

  • When the Presentation QoS is used with coherentAccess set to true and ResourceLimits Qos is active a sample lost can occur when all resources are consumed by incomplete transactions. In order to prevent deadlocks the the current transaction is dropped which causes a SampleLost event.
  • When the DestinationOrder QoS is set to BY_SOURCE_TIMESTAMP It can happen that older data is inserted after newer data is already taken by the DataReader. In this case the older data is not inserted into the DataReader and a Sample Lost is reported.
  • When the networking service detects a gap between sequence numbers of incoming data it will report a Sample Lost event.

Definition at line 821 of file DdsDcpsStructs.cs.

Member Data Documentation

◆ TotalCount

int DDS.SampleLostStatus.TotalCount

Total cumulative count of all samples lost across of instances of data published under the Topic.

Definition at line 827 of file DdsDcpsStructs.cs.

◆ TotalCountChange

int DDS.SampleLostStatus.TotalCountChange

The incremental number of samples lost since the last time the listener was called or the status was read.

Definition at line 833 of file DdsDcpsStructs.cs.


The documentation for this class was generated from the following file: