RTI Connext C# API  6.1.0
DataReaderQos Class Reference

Container of the QoS policies that a DataReader<T> supports More...

Inherits IEquatable< DataReaderQos >.

Public Member Functions

DataReaderQos WithDurability (Durability policy)
 Creates an instance with a new Durability policy. More...
 
DataReaderQos WithDurability (Action< DurabilityBuilder > build)
 Creates a new instance with a new Durability policy as configured by a build action More...
 
DataReaderQos WithDeadline (Deadline policy)
 Creates an instance with a new Deadline policy. More...
 
DataReaderQos WithDeadline (Action< DeadlineBuilder > build)
 Creates a new instance with a new Deadline policy as configured by a build action More...
 
DataReaderQos WithLatencyBudget (LatencyBudget policy)
 Creates an instance with a new LatencyBudget policy. More...
 
DataReaderQos WithLatencyBudget (Action< LatencyBudgetBuilder > build)
 Creates a new instance with a new LatencyBudget policy as configured by a build action More...
 
DataReaderQos WithLiveliness (Liveliness policy)
 Creates an instance with a new Liveliness policy. More...
 
DataReaderQos WithLiveliness (Action< LivelinessBuilder > build)
 Creates a new instance with a new Liveliness policy as configured by a build action More...
 
DataReaderQos WithReliability (Reliability policy)
 Creates an instance with a new Reliability policy. More...
 
DataReaderQos WithReliability (Action< ReliabilityBuilder > build)
 Creates a new instance with a new Reliability policy as configured by a build action More...
 
DataReaderQos WithDestinationOrder (DestinationOrder policy)
 Creates an instance with a new DestinationOrder policy. More...
 
DataReaderQos WithDestinationOrder (Action< DestinationOrderBuilder > build)
 Creates a new instance with a new DestinationOrder policy as configured by a build action More...
 
DataReaderQos WithHistory (History policy)
 Creates an instance with a new History policy. More...
 
DataReaderQos WithHistory (Action< HistoryBuilder > build)
 Creates a new instance with a new History policy as configured by a build action More...
 
DataReaderQos WithResourceLimits (ResourceLimits policy)
 Creates an instance with a new ResourceLimits policy. More...
 
DataReaderQos WithResourceLimits (Action< ResourceLimitsBuilder > build)
 Creates a new instance with a new ResourceLimits policy as configured by a build action More...
 
DataReaderQos WithUserData (UserData policy)
 Creates an instance with a new UserData policy. More...
 
DataReaderQos WithUserData (Action< ImmutableList< byte >.Builder > build)
 Creates a new instance with a new UserData policy as configured by a build action More...
 
DataReaderQos WithOwnership (Ownership policy)
 Creates an instance with a new Ownership policy. More...
 
DataReaderQos WithOwnership (Action< OwnershipBuilder > build)
 Creates a new instance with a new Ownership policy as configured by a build action More...
 
DataReaderQos WithTimeBasedFilter (TimeBasedFilter policy)
 Creates an instance with a new TimeBasedFilter policy. More...
 
DataReaderQos WithTimeBasedFilter (Action< TimeBasedFilterBuilder > build)
 Creates a new instance with a new TimeBasedFilter policy as configured by a build action More...
 
DataReaderQos WithReaderDataLifecycle (ReaderDataLifecycle policy)
 Creates an instance with a new ReaderDataLifecycle policy. More...
 
DataReaderQos WithReaderDataLifecycle (Action< ReaderDataLifecycleBuilder > build)
 Creates a new instance with a new ReaderDataLifecycle policy as configured by a build action More...
 
DataReaderQos WithRepresentation (DataRepresentation policy)
 Creates an instance with a new DataRepresentation policy. More...
 
DataReaderQos WithRepresentation (Action< DataRepresentationBuilder > build)
 Creates a new instance with a new DataRepresentation policy as configured by a build action More...
 
DataReaderQos WithTypeConsistency (TypeConsistencyEnforcement policy)
 Creates an instance with a new TypeConsistencyEnforcement policy. More...
 
DataReaderQos WithTypeConsistency (Action< TypeConsistencyEnforcementBuilder > build)
 Creates a new instance with a new TypeConsistencyEnforcement policy as configured by a build action More...
 
DataReaderQos WithDataTags (DataTags policy)
 Creates an instance with a new DataTags policy. More...
 
DataReaderQos WithDataTags (Action< ImmutableDictionary< string, string >.Builder > build)
 Creates a new instance with a new DataTags policy as configured by a build action More...
 
DataReaderQos WithReaderResourceLimits (DataReaderResourceLimits policy)
 Creates an instance with a new DataReaderResourceLimits policy. More...
 
DataReaderQos WithReaderResourceLimits (Action< DataReaderResourceLimitsBuilder > build)
 Creates a new instance with a new DataReaderResourceLimits policy as configured by a build action More...
 
DataReaderQos WithProtocol (DataReaderProtocol policy)
 Creates an instance with a new DataReaderProtocol policy. More...
 
DataReaderQos WithProtocol (Action< DataReaderProtocolBuilder > build)
 Creates a new instance with a new DataReaderProtocol policy as configured by a build action More...
 
DataReaderQos WithTransportSelection (TransportSelection policy)
 Creates an instance with a new TransportSelection policy. More...
 
DataReaderQos WithTransportSelection (Action< TransportSelectionBuilder > build)
 Creates a new instance with a new TransportSelection policy as configured by a build action More...
 
DataReaderQos WithUnicast (TransportUnicast policy)
 Creates an instance with a new TransportUnicast policy. More...
 
DataReaderQos WithUnicast (Action< ImmutableList< TransportUnicastSettings >.Builder > build)
 Creates a new instance with a new TransportUnicast policy as configured by a build action More...
 
DataReaderQos WithMulticast (TransportMulticast policy)
 Creates an instance with a new TransportMulticast policy. More...
 
DataReaderQos WithMulticast (Action< TransportMulticastBuilder > build)
 Creates a new instance with a new TransportMulticast policy as configured by a build action More...
 
DataReaderQos WithProperty (Property policy)
 Creates an instance with a new Property policy. More...
 
DataReaderQos WithProperty (Action< ImmutableDictionary< string, Property.Entry >.Builder > build)
 Creates a new instance with a new Property policy as configured by a build action More...
 
DataReaderQos WithService (Service policy)
 Creates an instance with a new Service policy. More...
 
DataReaderQos WithService (Action< ServiceBuilder > build)
 Creates a new instance with a new Service policy as configured by a build action More...
 
DataReaderQos WithAvailability (Availability policy)
 Creates an instance with a new Availability policy. More...
 
DataReaderQos WithAvailability (Action< AvailabilityBuilder > build)
 Creates a new instance with a new Availability policy as configured by a build action More...
 
DataReaderQos WithSubscriptionName (EntityName policy)
 Creates an instance with a new EntityName policy. More...
 
DataReaderQos WithSubscriptionName (Action< EntityNameBuilder > build)
 Creates a new instance with a new EntityName policy as configured by a build action More...
 
DataReaderQos WithTransportPriority (TransportPriority policy)
 Creates an instance with a new TransportPriority policy. More...
 
DataReaderQos WithTransportPriority (Action< TransportPriorityBuilder > build)
 Creates a new instance with a new TransportPriority policy as configured by a build action More...
 
DataReaderQos WithTypeSupport (TypeSupport policy)
 Creates an instance with a new TypeSupport policy. More...
 
DataReaderQos WithTypeSupport (Action< TypeSupportBuilder > build)
 Creates a new instance with a new TypeSupport policy as configured by a build action More...
 
override int GetHashCode ()
 Gets the hash code More...
 
override bool Equals (object other)
 Compares for equality More...
 
bool Equals (DataReaderQos other)
 Compares for equality More...
 
override string ToString ()
 Returns an XML representation of the QoS object. More...
 
string ToString (QosPrintFormat format)
 Returns an XML representation of the QoS object. More...
 
string ToString (DataReaderQos baseQos, QosPrintFormat format=null)
 Returns an XML representation of the QoS object. More...
 
string ToString (QosPrintAll baseQos, QosPrintFormat format=null)
 Returns an XML representation of the QoS object. More...
 

Static Public Member Functions

static DataReaderQos FromTopicQos (TopicQos topicQos)
 Creates a DataReaderQos object with the policies of a TopicQos object. More...
 

Properties

Durability Durability [get]
 Gets the Durability policy. More...
 
Deadline Deadline [get]
 Gets the Deadline policy. More...
 
LatencyBudget LatencyBudget [get]
 Gets the LatencyBudget policy. More...
 
Liveliness Liveliness [get]
 Gets the Liveliness policy. More...
 
Reliability Reliability [get]
 Gets the Reliability policy. More...
 
DestinationOrder DestinationOrder [get]
 Gets the DestinationOrder policy. More...
 
History History [get]
 Gets the History policy. More...
 
ResourceLimits ResourceLimits [get]
 Gets the ResourceLimits policy. More...
 
UserData UserData [get]
 Gets the UserData policy. More...
 
Ownership Ownership [get]
 Gets the Ownership policy. More...
 
TimeBasedFilter TimeBasedFilter [get]
 Gets the TimeBasedFilter policy. More...
 
ReaderDataLifecycle ReaderDataLifecycle [get]
 Gets the ReaderDataLifecycle policy. More...
 
DataRepresentation Representation [get]
 Gets the DataRepresentation policy. More...
 
TypeConsistencyEnforcement TypeConsistency [get]
 Gets the TypeConsistencyEnforcement policy. More...
 
DataTags DataTags [get]
 Gets the TypeConsistencyEnforcement policy. More...
 
DataReaderResourceLimits ReaderResourceLimits [get]
 Gets the DataReaderResourceLimits policy. More...
 
DataReaderProtocol Protocol [get]
 Gets the DataReaderProtocol policy. More...
 
TransportSelection TransportSelection [get]
 Gets the TransportSelection policy. More...
 
TransportUnicast Unicast [get]
 Gets the TransportUnicast policy. More...
 
TransportMulticast Multicast [get]
 Gets the TransportMulticast policy. More...
 
Property Property [get]
 Gets the Property policy. More...
 
Service Service [get]
 Gets the Service policy. More...
 
Availability Availability [get]
 Gets the Availability policy. More...
 
EntityName SubscriptionName [get]
 Gets the EntityName policy. More...
 
TransportPriority TransportPriority [get]
 Gets the TransportPriority policy. More...
 
TypeSupport TypeSupport [get]
 Gets the TypeSupport policy. More...
 
static DataReaderQos Default [get]
 Singleton containing the documented default value of a DataReaderQos More...
 

Detailed Description

Container of the QoS policies that a DataReader<T> supports

The full documentation is available in the C API: DDS_DataReaderQos

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( DataReaderQos  other)

Compares for equality

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality

◆ FromTopicQos()

static DataReaderQos FromTopicQos ( TopicQos  topicQos)
static

Creates a DataReaderQos object with the policies of a TopicQos object.

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ ToString() [1/4]

override string ToString ( )

Returns an XML representation of the QoS object.

The output is formatted using the default values for the QosPrintFormat and only QoS policies which differ from the documented default are included.

◆ ToString() [2/4]

string ToString ( DataReaderQos  baseQos,
QosPrintFormat  format = null 
)

Returns an XML representation of the QoS object.

Parameters
baseQosThe baseQos profile.
formatthe format used to configure the output. If not supplied the output is formatted using the default format.

This overload accepts a value for the baseQos. Only the differences between the DataReaderQos object being printed and the baseQos are included in the output.

◆ ToString() [3/4]

string ToString ( QosPrintAll  baseQos,
QosPrintFormat  format = null 
)

Returns an XML representation of the QoS object.

Parameters
baseQosUsed to indicate that the entire QoS object should be included in the output. The only value which should be provided for this argument is QosPrintAll.Value
formatThe format used to configure the output. If not supplied, the output is formatted using the default format.

This overload accepts a parameter of type QosPrintAll. Unlike the other ToString overloads, the entire QoS object will be included in the output.

◆ ToString() [4/4]

string ToString ( QosPrintFormat  format)

Returns an XML representation of the QoS object.

Parameters
formatThe baseQos profile.

This overload accepts a value for the baseQos. Only the differences between the DataReaderQos object being printed and the baseQos are included in the output.

◆ WithAvailability() [1/2]

DataReaderQos WithAvailability ( Action< AvailabilityBuilder build)

Creates a new instance with a new Availability policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithAvailability() [2/2]

DataReaderQos WithAvailability ( Availability  policy)

Creates an instance with a new Availability policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithDataTags() [1/2]

DataReaderQos WithDataTags ( Action< ImmutableDictionary< string, string >.Builder >  build)

Creates a new instance with a new DataTags policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithDataTags() [2/2]

DataReaderQos WithDataTags ( DataTags  policy)

Creates an instance with a new DataTags policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithDeadline() [1/2]

DataReaderQos WithDeadline ( Action< DeadlineBuilder build)

Creates a new instance with a new Deadline policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithDeadline() [2/2]

DataReaderQos WithDeadline ( Deadline  policy)

Creates an instance with a new Deadline policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithDestinationOrder() [1/2]

DataReaderQos WithDestinationOrder ( Action< DestinationOrderBuilder build)

Creates a new instance with a new DestinationOrder policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithDestinationOrder() [2/2]

DataReaderQos WithDestinationOrder ( DestinationOrder  policy)

Creates an instance with a new DestinationOrder policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithDurability() [1/2]

DataReaderQos WithDurability ( Action< DurabilityBuilder build)

Creates a new instance with a new Durability policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithDurability() [2/2]

DataReaderQos WithDurability ( Durability  policy)

Creates an instance with a new Durability policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithHistory() [1/2]

DataReaderQos WithHistory ( Action< HistoryBuilder build)

Creates a new instance with a new History policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithHistory() [2/2]

DataReaderQos WithHistory ( History  policy)

Creates an instance with a new History policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithLatencyBudget() [1/2]

DataReaderQos WithLatencyBudget ( Action< LatencyBudgetBuilder build)

Creates a new instance with a new LatencyBudget policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithLatencyBudget() [2/2]

DataReaderQos WithLatencyBudget ( LatencyBudget  policy)

Creates an instance with a new LatencyBudget policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithLiveliness() [1/2]

DataReaderQos WithLiveliness ( Action< LivelinessBuilder build)

Creates a new instance with a new Liveliness policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithLiveliness() [2/2]

DataReaderQos WithLiveliness ( Liveliness  policy)

Creates an instance with a new Liveliness policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithMulticast() [1/2]

DataReaderQos WithMulticast ( Action< TransportMulticastBuilder build)

Creates a new instance with a new TransportMulticast policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithMulticast() [2/2]

DataReaderQos WithMulticast ( TransportMulticast  policy)

Creates an instance with a new TransportMulticast policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithOwnership() [1/2]

DataReaderQos WithOwnership ( Action< OwnershipBuilder build)

Creates a new instance with a new Ownership policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithOwnership() [2/2]

DataReaderQos WithOwnership ( Ownership  policy)

Creates an instance with a new Ownership policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithProperty() [1/2]

DataReaderQos WithProperty ( Action< ImmutableDictionary< string, Property.Entry >.Builder >  build)

Creates a new instance with a new Property policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithProperty() [2/2]

DataReaderQos WithProperty ( Property  policy)

Creates an instance with a new Property policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithProtocol() [1/2]

DataReaderQos WithProtocol ( Action< DataReaderProtocolBuilder build)

Creates a new instance with a new DataReaderProtocol policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithProtocol() [2/2]

DataReaderQos WithProtocol ( DataReaderProtocol  policy)

Creates an instance with a new DataReaderProtocol policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithReaderDataLifecycle() [1/2]

DataReaderQos WithReaderDataLifecycle ( Action< ReaderDataLifecycleBuilder build)

Creates a new instance with a new ReaderDataLifecycle policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithReaderDataLifecycle() [2/2]

DataReaderQos WithReaderDataLifecycle ( ReaderDataLifecycle  policy)

Creates an instance with a new ReaderDataLifecycle policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithReaderResourceLimits() [1/2]

DataReaderQos WithReaderResourceLimits ( Action< DataReaderResourceLimitsBuilder build)

Creates a new instance with a new DataReaderResourceLimits policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithReaderResourceLimits() [2/2]

DataReaderQos WithReaderResourceLimits ( DataReaderResourceLimits  policy)

Creates an instance with a new DataReaderResourceLimits policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithReliability() [1/2]

DataReaderQos WithReliability ( Action< ReliabilityBuilder build)

Creates a new instance with a new Reliability policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithReliability() [2/2]

DataReaderQos WithReliability ( Reliability  policy)

Creates an instance with a new Reliability policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithRepresentation() [1/2]

DataReaderQos WithRepresentation ( Action< DataRepresentationBuilder build)

Creates a new instance with a new DataRepresentation policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithRepresentation() [2/2]

DataReaderQos WithRepresentation ( DataRepresentation  policy)

Creates an instance with a new DataRepresentation policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithResourceLimits() [1/2]

DataReaderQos WithResourceLimits ( Action< ResourceLimitsBuilder build)

Creates a new instance with a new ResourceLimits policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithResourceLimits() [2/2]

DataReaderQos WithResourceLimits ( ResourceLimits  policy)

Creates an instance with a new ResourceLimits policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithService() [1/2]

DataReaderQos WithService ( Action< ServiceBuilder build)

Creates a new instance with a new Service policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithService() [2/2]

DataReaderQos WithService ( Service  policy)

Creates an instance with a new Service policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithSubscriptionName() [1/2]

DataReaderQos WithSubscriptionName ( Action< EntityNameBuilder build)

Creates a new instance with a new EntityName policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithSubscriptionName() [2/2]

DataReaderQos WithSubscriptionName ( EntityName  policy)

Creates an instance with a new EntityName policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithTimeBasedFilter() [1/2]

DataReaderQos WithTimeBasedFilter ( Action< TimeBasedFilterBuilder build)

Creates a new instance with a new TimeBasedFilter policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithTimeBasedFilter() [2/2]

DataReaderQos WithTimeBasedFilter ( TimeBasedFilter  policy)

Creates an instance with a new TimeBasedFilter policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithTransportPriority() [1/2]

DataReaderQos WithTransportPriority ( Action< TransportPriorityBuilder build)

Creates a new instance with a new TransportPriority policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithTransportPriority() [2/2]

DataReaderQos WithTransportPriority ( TransportPriority  policy)

Creates an instance with a new TransportPriority policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithTransportSelection() [1/2]

DataReaderQos WithTransportSelection ( Action< TransportSelectionBuilder build)

Creates a new instance with a new TransportSelection policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithTransportSelection() [2/2]

DataReaderQos WithTransportSelection ( TransportSelection  policy)

Creates an instance with a new TransportSelection policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithTypeConsistency() [1/2]

DataReaderQos WithTypeConsistency ( Action< TypeConsistencyEnforcementBuilder build)

Creates a new instance with a new TypeConsistencyEnforcement policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithTypeConsistency() [2/2]

DataReaderQos WithTypeConsistency ( TypeConsistencyEnforcement  policy)

Creates an instance with a new TypeConsistencyEnforcement policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithTypeSupport() [1/2]

DataReaderQos WithTypeSupport ( Action< TypeSupportBuilder build)

Creates a new instance with a new TypeSupport policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithTypeSupport() [2/2]

DataReaderQos WithTypeSupport ( TypeSupport  policy)

Creates an instance with a new TypeSupport policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithUnicast() [1/2]

DataReaderQos WithUnicast ( Action< ImmutableList< TransportUnicastSettings >.Builder >  build)

Creates a new instance with a new TransportUnicast policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithUnicast() [2/2]

DataReaderQos WithUnicast ( TransportUnicast  policy)

Creates an instance with a new TransportUnicast policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithUserData() [1/2]

DataReaderQos WithUserData ( Action< ImmutableList< byte >.Builder >  build)

Creates a new instance with a new UserData policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithUserData() [2/2]

DataReaderQos WithUserData ( UserData  policy)

Creates an instance with a new UserData policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

Property Documentation

◆ Availability

Gets the Availability policy.

◆ DataTags

Gets the TypeConsistencyEnforcement policy.

◆ Deadline

Gets the Deadline policy.

◆ Default

DataReaderQos Default
staticget

Singleton containing the documented default value of a DataReaderQos

This is a static value containing the documented default values for each policy. Use Domain.DomainParticipant.DefaultDataReaderQos for the runtime default value that takes into consideration the current configuration.

◆ DestinationOrder

◆ Durability

Gets the Durability policy.

◆ History

Gets the History policy.

◆ LatencyBudget

◆ Liveliness

Gets the Liveliness policy.

◆ Multicast

TransportMulticast Multicast
get

Gets the TransportMulticast policy.

◆ Ownership

Gets the Ownership policy.

◆ Property

Gets the Property policy.

◆ Protocol

DataReaderProtocol Protocol
get

Gets the DataReaderProtocol policy.

◆ ReaderDataLifecycle

◆ ReaderResourceLimits

DataReaderResourceLimits ReaderResourceLimits
get

Gets the DataReaderResourceLimits policy.

◆ Reliability

Gets the Reliability policy.

◆ Representation

DataRepresentation Representation
get

Gets the DataRepresentation policy.

◆ ResourceLimits

◆ Service

Gets the Service policy.

◆ SubscriptionName

EntityName SubscriptionName
get

Gets the EntityName policy.

◆ TimeBasedFilter

◆ TransportPriority

◆ TransportSelection

◆ TypeConsistency

TypeConsistencyEnforcement TypeConsistency
get

Gets the TypeConsistencyEnforcement policy.

◆ TypeSupport

Gets the TypeSupport policy.

◆ Unicast

TransportUnicast Unicast
get

Gets the TransportUnicast policy.

◆ UserData

Gets the UserData policy.