RTI Connext C API  Version 6.1.1
DDS_SampleRejectedStatus Struct Reference

DDS_SAMPLE_REJECTED_STATUS More...

Data Fields

DDS_Long total_count
 Total cumulative count of samples rejected by the DDS_DataReader. More...
 
DDS_Long total_count_change
 The incremental number of samples rejected since the last time the listener was called or the status was read. More...
 
DDS_SampleRejectedStatusKind last_reason
 Reason for rejecting the last sample rejected. More...
 
DDS_InstanceHandle_t last_instance_handle
 Handle to the instance being updated by the last sample that was rejected. More...
 

Detailed Description

Field Documentation

◆ total_count

DDS_Long DDS_SampleRejectedStatus::total_count

Total cumulative count of samples rejected by the DDS_DataReader.

◆ total_count_change

DDS_Long DDS_SampleRejectedStatus::total_count_change

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

◆ last_reason

DDS_SampleRejectedStatusKind DDS_SampleRejectedStatus::last_reason

Reason for rejecting the last sample rejected.

See also
DDS_SampleRejectedStatusKind

◆ last_instance_handle

DDS_InstanceHandle_t DDS_SampleRejectedStatus::last_instance_handle

Handle to the instance being updated by the last sample that was rejected.

If the sample was rejected because of DDS_REJECTED_BY_DECODE_FAILURE and the DDS_DataWriter set DDS_DataWriterProtocolQosPolicy::disable_inline_keyhash to DDS_BOOLEAN_TRUE, then the last_instance_handle may not be correct if the sample was encrypted.