RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.DataReaderProtocol Class Reference

Configures Subscription.DataReader<T>-specific aspects of the RTPS protocol. More...

Inherits IEquatable< DataReaderProtocol >.

Public Member Functions

DataReaderProtocol With (Action< DataReaderProtocolBuilder > build)
 Creates a new DataReaderProtocol with a set of changes specified in an Action More...
 
override int GetHashCode ()
 Gets the hash code More...
 
override bool Equals (object other)
 Compares for equality More...
 
bool Equals (DataReaderProtocol other)
 Compares for equality More...
 

Properties

Guid VirtualGuid [get]
 The virtual GUID (Global Unique Identifier). More...
 
uint RtpsObjectId [get]
 The RTPS Object ID. More...
 
bool ExpectsInlineQos [get]
 Specifies whether this DataReader expects inline QoS with every sample. More...
 
bool DisablePositiveAcks [get]
 Whether the reader sends positive acknowledgements to writers. More...
 
bool PropagateDisposeOfUnregisteredInstances [get]
 Indicates whether or not an instance can move to the Omg.Dds.Subscription.InstanceState.NotAliveDisposed state without being in the Omg.Dds.Subscription.InstanceState.Alive state. More...
 
bool PropagateUnregisterOfDisposedInstances [get]
 Indicates whether or not an instance can move to the Omg.Dds.Subscription.InstanceState.NotAliveNoWriters state without being in the Omg.Dds.Subscription.InstanceState.Alive state. More...
 
RtpsReliableReaderProtocol RtpsReliableReader [get]
 RTPS protocol-related configuration settings for the RTPS reliable reader associated with a Subscription.DataReader<T>. This parameter only has effect if the reader is configured with ReliabilityKind.Reliable Reliability. More...
 
static DataReaderProtocol Default [get]
 Singleton containing the default value of a DataReaderProtocol More...
 

Detailed Description

Configures Subscription.DataReader<T>-specific aspects of the RTPS protocol.

The full documentation is available in the C API: DDS_DataReaderProtocolQosPolicy_virtual_guid

Member Function Documentation

◆ With()

DataReaderProtocol Rti.Dds.Core.Policy.DataReaderProtocol.With ( Action< DataReaderProtocolBuilder build)
inline

Creates a new DataReaderProtocol with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable object with the current values of this DataReaderProtocol.
Returns
A new DataReaderProtocol with the changes applied by the Action

◆ GetHashCode()

override int Rti.Dds.Core.Policy.DataReaderProtocol.GetHashCode ( )
inline

Gets the hash code

◆ Equals() [1/2]

override bool Rti.Dds.Core.Policy.DataReaderProtocol.Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Rti.Dds.Core.Policy.DataReaderProtocol.Equals ( DataReaderProtocol  other)
inline

Compares for equality

Property Documentation

◆ VirtualGuid

Guid Rti.Dds.Core.Policy.DataReaderProtocol.VirtualGuid
get

The virtual GUID (Global Unique Identifier).

The full documentation is available in the C API: DDS_DataReaderProtocolQosPolicy_virtual_guid

◆ RtpsObjectId

uint Rti.Dds.Core.Policy.DataReaderProtocol.RtpsObjectId
get

The RTPS Object ID.

The full documentation is available in the C API: DDS_DataReaderProtocolQosPolicy_rtps_object_id

◆ ExpectsInlineQos

bool Rti.Dds.Core.Policy.DataReaderProtocol.ExpectsInlineQos
get

Specifies whether this DataReader expects inline QoS with every sample.

The full documentation is available in the C API: DDS_DataReaderProtocolQosPolicy_expects_inline_qos

◆ DisablePositiveAcks

bool Rti.Dds.Core.Policy.DataReaderProtocol.DisablePositiveAcks
get

Whether the reader sends positive acknowledgements to writers.

The full documentation is available in the C API: DDS_DataReaderProtocolQosPolicy_disable_positive_acks

◆ PropagateDisposeOfUnregisteredInstances

bool Rti.Dds.Core.Policy.DataReaderProtocol.PropagateDisposeOfUnregisteredInstances
get

Indicates whether or not an instance can move to the Omg.Dds.Subscription.InstanceState.NotAliveDisposed state without being in the Omg.Dds.Subscription.InstanceState.Alive state.

The full documentation is available in the C API: DDS_DataReaderProtocolQosPolicy_propagate_dispose_of_unregistered_instances

◆ PropagateUnregisterOfDisposedInstances

bool Rti.Dds.Core.Policy.DataReaderProtocol.PropagateUnregisterOfDisposedInstances
get

Indicates whether or not an instance can move to the Omg.Dds.Subscription.InstanceState.NotAliveNoWriters state without being in the Omg.Dds.Subscription.InstanceState.Alive state.

The full documentation is available in the C API: DDS_DataReaderProtocolQosPolicy_propagate_unregister_of_disposed_instances

◆ RtpsReliableReader

RtpsReliableReaderProtocol Rti.Dds.Core.Policy.DataReaderProtocol.RtpsReliableReader
get

RTPS protocol-related configuration settings for the RTPS reliable reader associated with a Subscription.DataReader<T>. This parameter only has effect if the reader is configured with ReliabilityKind.Reliable Reliability.

The full documentation is available in the C API: DDS_DataReaderProtocolQosPolicy_rtps_reliable_reader

◆ Default

DataReaderProtocol Rti.Dds.Core.Policy.DataReaderProtocol.Default
staticget

Singleton containing the default value of a DataReaderProtocol