RTI Connext C# API  6.1.2
BatchBuilder Class Reference

A modifiable type used to create an immutable Batch More...

Public Member Functions

 BatchBuilder (Batch data)
 Creates a builder with the values of an existing immutable instance More...
 
Batch Build ()
 Creates a new Batch immutable object from this one. More...
 

Properties

bool Enable [get, set]
 Specifies whether or not batching is enabled. More...
 
int MaxDataBytes [get, set]
 The maximum cumulative length of all serialized samples in a batch. More...
 
int MaxSamples [get, set]
 The maximum number of samples in a batch. More...
 
Duration MaxFlushDelay [get, set]
 The maximum flush delay. More...
 
Duration SourceTimestampResolution [get, set]
 Batch source timestamp resolution. More...
 
bool ThreadSafeWrite [get, set]
 Determines whether or not the write operation is thread safe. More...
 

Detailed Description

A modifiable type used to create an immutable Batch

Constructor & Destructor Documentation

◆ BatchBuilder()

BatchBuilder ( Batch  data)

Creates a builder with the values of an existing immutable instance

Member Function Documentation

◆ Build()

Batch Build ( )

Creates a new Batch immutable object from this one.

Property Documentation

◆ Enable

bool Enable
getset

Specifies whether or not batching is enabled.

The full documentation is available in the C API: DDS_BatchQosPolicy::enable

◆ MaxDataBytes

int MaxDataBytes
getset

The maximum cumulative length of all serialized samples in a batch.

The full documentation is available in the C API: DDS_BatchQosPolicy::max_data_bytes

◆ MaxFlushDelay

Duration MaxFlushDelay
getset

The maximum flush delay.

The full documentation is available in the C API: DDS_BatchQosPolicy::max_flush_delay

◆ MaxSamples

int MaxSamples
getset

The maximum number of samples in a batch.

The full documentation is available in the C API: DDS_BatchQosPolicy::max_samples

◆ SourceTimestampResolution

Duration SourceTimestampResolution
getset

Batch source timestamp resolution.

The full documentation is available in the C API: DDS_BatchQosPolicy::source_timestamp_resolution

◆ ThreadSafeWrite

bool ThreadSafeWrite
getset

Determines whether or not the write operation is thread safe.

The full documentation is available in the C API: DDS_BatchQosPolicy::thread_safe_write