RTI Connext .NET API (legacy)  Version 6.1.2
DDS::SampleRejectedStatus Struct Reference

SAMPLE_REJECTED_STATUS. More...

#include <managed_subscription.h>

Public Attributes

System::Int32 total_count
 Total cumulative count of samples rejected by the DDS::DataReader. More...
 
System::Int32 total_count_change
 The incremental number of samples rejected since the last time the listener was called or the status was read. More...
 
SampleRejectedStatusKind last_reason
 Reason for rejecting the last sample rejected. More...
 
InstanceHandle_t last_instance_handle
 Handle to the instance being updated by the last sample that was rejected. More...
 

Detailed Description

SAMPLE_REJECTED_STATUS.

Examples:
HelloWorld_subscriber.cpp.

Member Data Documentation

◆ total_count

System::Int32 DDS::SampleRejectedStatus::total_count

Total cumulative count of samples rejected by the DDS::DataReader.

◆ total_count_change

System::Int32 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

SampleRejectedStatusKind DDS::SampleRejectedStatus::last_reason

Reason for rejecting the last sample rejected.

See also
DDS::SampleRejectedStatusKind

◆ last_instance_handle

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::SampleRejectedStatusKind::REJECTED_BY_DECODE_FAILURE and the DDS::DataWriter set DDS::DataWriterProtocolQosPolicy::disable_inline_keyhash to true, then the last_instance_handle may not be correct if the sample was encrypted.