RTI Connext Java API  Version 6.1.1
SampleRejectedStatus Class Reference

com.rti.dds.infrastructure.StatusKind.StatusKind.SAMPLE_REJECTED_STATUS More...

Inherits Status.

Public Attributes

int total_count
 Total cumulative count of samples rejected by the com.rti.dds.subscription.DataReader. More...
 
int 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...
 
final InstanceHandle_t last_instance_handle
 Handle to the instance being updated by the last sample that was rejected. More...
 

Detailed Description

com.rti.dds.infrastructure.StatusKind.StatusKind.SAMPLE_REJECTED_STATUS

Member Data Documentation

◆ total_count

int total_count

Total cumulative count of samples rejected by the com.rti.dds.subscription.DataReader.

◆ total_count_change

int total_count_change

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

◆ last_reason

Reason for rejecting the last sample rejected.

See also
com.rti.dds.subscription.SampleRejectedStatusKind

◆ last_instance_handle

final InstanceHandle_t last_instance_handle

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

If the sample was rejected because of com.rti.dds.subscription.SampleRejectedStatusKind.REJECTED_BY_DECODE_FAILURE and the com.rti.dds.publication.DataWriter set com.rti.dds.infrastructure.DataWriterProtocolQosPolicy.disable_inline_keyhash to com.rti.dds.infrastructure.true, then the last_instance_handle may not be correct if the sample was encrypted.