RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Status.SampleRejectedStatus Class Reference

Indicates that one or more samples received from a matched Publication.DataWriter<T> have been rejected by the Subscription.DataReader<T> because a resource limit would have been exceeded. More...

Inherits IEquatable< SampleRejectedStatus >.

Public Member Functions

override int GetHashCode ()
 Gets the hash code. More...
 
override bool Equals (object other)
 Compares for equality. More...
 
bool Equals (SampleRejectedStatus other)
 Compares for equality. More...
 
override string ToString ()
 Returns a readable summary of the status More...
 

Properties

EventCount< int > TotalCount [get]
 Total cumulative count of samples rejected by the Subscription.DataReader<T>. More...
 
SampleRejectedStatusKind LastReason [get]
 Reason for rejecting the last sample. More...
 
InstanceHandle LastInstanceHandle [get]
 InstanceHandle to the data-instance for which the last sample was rejected. More...
 

Detailed Description

Indicates that one or more samples received from a matched Publication.DataWriter<T> have been rejected by the Subscription.DataReader<T> because a resource limit would have been exceeded.

The full documentation is available in the C API: DDS_SampleRejectedStatus

Member Function Documentation

◆ GetHashCode()

override int Rti.Dds.Core.Status.SampleRejectedStatus.GetHashCode ( )
inline

Gets the hash code.

◆ Equals() [1/2]

override bool Rti.Dds.Core.Status.SampleRejectedStatus.Equals ( object  other)

Compares for equality.

◆ Equals() [2/2]

bool Rti.Dds.Core.Status.SampleRejectedStatus.Equals ( SampleRejectedStatus  other)
inline

Compares for equality.

◆ ToString()

override string Rti.Dds.Core.Status.SampleRejectedStatus.ToString ( )

Returns a readable summary of the status

Property Documentation

◆ TotalCount

EventCount<int> Rti.Dds.Core.Status.SampleRejectedStatus.TotalCount
get

Total cumulative count of samples rejected by the Subscription.DataReader<T>.

The full documentation is available in the C API: DDS_SampleRejectedStatus_total_count

◆ LastReason

SampleRejectedStatusKind Rti.Dds.Core.Status.SampleRejectedStatus.LastReason
get

Reason for rejecting the last sample.

The full documentation is available in the C API: DDS_SampleRejectedStatus_last_reason

◆ LastInstanceHandle

InstanceHandle Rti.Dds.Core.Status.SampleRejectedStatus.LastInstanceHandle
get

InstanceHandle to the data-instance for which the last sample was rejected.

The full documentation is available in the C API: DDS_SampleRejectedStatus_last_instance_handle