RTI Connext C# API  6.1.0
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

◆ Equals() [1/2]

override bool Equals ( object  other)

Compares for equality.

◆ Equals() [2/2]

bool Equals ( SampleRejectedStatus  other)

Compares for equality.

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code.

◆ ToString()

override string ToString ( )

Returns a readable summary of the status

Property Documentation

◆ LastInstanceHandle

InstanceHandle 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

◆ LastReason

SampleRejectedStatusKind LastReason
get

Reason for rejecting the last sample.

The full documentation is available in the C API: DDS_SampleRejectedStatus::last_reason

◆ TotalCount

EventCount<int> 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