RTI Connext C# API  7.1.0
PublishMode Class Reference

Specifies whether a Publication.DataWriter<T> sends data synchronously or asynchronously. More...

Inherits IEquatable< PublishMode >.

Public Member Functions

PublishMode With (Action< PublishModeBuilder > build)
 Creates a new PublishMode 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 (PublishMode other)
 Compares for equality More...
 

Static Public Attributes

const string DefaultFlowControllerName
 Special value for FlowControllerName that refers to the built-in default flow controller. More...
 
const string FixedRateFlowControllerName
 Special value for FlowControllerName that refers to the built-in fixed-rate flow controller. More...
 

Properties

PublishModeKind Kind [get]
 Publishing mode More...
 
string FlowControllerName [get]
 Name of the associated flow controller More...
 
int Priority [get]
 Publication priority More...
 
static PublishMode Default [get]
 Singleton containing the default value of a PublishMode More...
 

Detailed Description

Specifies whether a Publication.DataWriter<T> sends data synchronously or asynchronously.

The full documentation is available in the C API: DDS_PublishModeQosPolicy

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Equals ( PublishMode  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

PublishMode With ( Action< PublishModeBuilder build)

Creates a new PublishMode 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 PublishMode.
Returns
A new PublishMode with the changes applied by the Action

Member Data Documentation

◆ DefaultFlowControllerName

const string DefaultFlowControllerName
static

Special value for FlowControllerName that refers to the built-in default flow controller.

The full documentation is available in the C API: DDS_DEFAULT_FLOW_CONTROLLER_NAME

◆ FixedRateFlowControllerName

const string FixedRateFlowControllerName
static

Special value for FlowControllerName that refers to the built-in fixed-rate flow controller.

The full documentation is available in the C API: DDS_FIXED_RATE_FLOW_CONTROLLER_NAME

Property Documentation

◆ Default

PublishMode Default
staticget

Singleton containing the default value of a PublishMode

◆ FlowControllerName

string FlowControllerName
get

Name of the associated flow controller

The full documentation is available in the C API: DDS_PublishModeQosPolicy::flow_controller_name

◆ Kind

PublishModeKind Kind
get

Publishing mode

The full documentation is available in the C API: DDS_PublishModeQosPolicy::kind

◆ Priority

int Priority
get

Publication priority

See also
Rti.Dds.Core.Priority for special values

The full documentation is available in the C API: DDS_PublishModeQosPolicy::priority