RTI Connext Java API
Version 5.1.0
|
Properties that govern how data of a certain type will be serialized on the network. More...
Public Member Functions | |
DynamicDataTypeSerializationProperty_t () | |
The constructor. | |
DynamicDataTypeSerializationProperty_t (boolean use_42e_compatible_alignment, int max_size_serialized) | |
The constructor. | |
Public Attributes | |
boolean | use_42e_compatible_alignment = false |
Use RTI Connext 4.2e-compatible alignment for large primitive types. | |
int | max_size_serialized = 0xffffffff |
The maximum number of bytes that objects of a given type could consume when serialized on the network. | |
Properties that govern how data of a certain type will be serialized on the network.
The constructor.
DynamicDataTypeSerializationProperty_t | ( | boolean | use_42e_compatible_alignment, |
int | max_size_serialized | ||
) |
The constructor.
boolean use_42e_compatible_alignment = false |
Use RTI Connext 4.2e-compatible alignment for large primitive types.
In RTI Connext 4.2e, the default alignment for large primitive types – long, com.rti.dds.infrastructure.long, double, and com.rti.dds.infrastructure.LongDouble – was not RTPS-compliant. This compatibility mode allows applications targeting post-4.2e versions of RTI Connext to interoperate with 4.2e-based applications, regardless of the data types they use.
If this flag is not set, all data will be serialized in an RTPS-compliant manner, which for the types listed above, will not be interoperable with RTI Connext 4.2e.
int max_size_serialized = 0xffffffff |
The maximum number of bytes that objects of a given type could consume when serialized on the network.
This value is used to set the sizes of certain internal middleware buffers.
The effective value of the maximum serialized size will be the value of this field or the size automatically inferred from the type's com.rti.dds.typecode.TypeCode, whichever is smaller.