RTI Connext Java API
Version 5.3.0
|
A collection of attributes used to configure com.rti.dds.dynamicdata.DynamicData objects. More...
Public Member Functions | |
DynamicDataProperty_t () | |
The constructor. | |
DynamicDataProperty_t (int buffer_initial_size, int buffer_max_size, int buffer_max_size_increment, Charset string_character_encoding) | |
Constructor accepting an alternative string encoding. | |
DynamicDataProperty_t (int buffer_initial_size, int buffer_max_size, int buffer_max_size_increment) | |
The constructor. | |
Public Attributes | |
int | buffer_initial_size = 0 |
The initial amount of memory used by this com.rti.dds.dynamicdata.DynamicData object, in bytes. | |
int | buffer_max_size = ResourceLimitsQosPolicy.LENGTH_UNLIMITED |
The maximum amount of memory that this com.rti.dds.dynamicdata.DynamicData object may use, in bytes. | |
Charset | string_character_encoding = StandardCharsets.UTF_8 |
String encoding that this com.rti.dds.dynamicdata.DynamicData object will use internally. | |
A collection of attributes used to configure com.rti.dds.dynamicdata.DynamicData objects.
The constructor.
DynamicDataProperty_t | ( | int | buffer_initial_size, |
int | buffer_max_size, | ||
int | buffer_max_size_increment, | ||
Charset | string_character_encoding | ||
) |
Constructor accepting an alternative string encoding.
DynamicDataProperty_t | ( | int | buffer_initial_size, |
int | buffer_max_size, | ||
int | buffer_max_size_increment | ||
) |
The constructor.
int buffer_initial_size = 0 |
The initial amount of memory used by this com.rti.dds.dynamicdata.DynamicData object, in bytes.
int buffer_max_size = ResourceLimitsQosPolicy.LENGTH_UNLIMITED |
The maximum amount of memory that this com.rti.dds.dynamicdata.DynamicData object may use, in bytes.
It will grow to this size from the initial size as needed.
Charset string_character_encoding = StandardCharsets.UTF_8 |
String encoding that this com.rti.dds.dynamicdata.DynamicData object will use internally.
This com.rti.dds.dynamicdata.DynamicData object will store IDL strings with the encoding configured by this field.
In addition, IDL strings will be serialized with this encoding when sent on the wire.
Currently, only encodings ISO-8859-1 and UTF-8 are supported.
In Java 1.7 and above, the Charset objects corresponding to these encodings can be obtained from java.nio.charset.StandardCharsets.
In previous Java versions, the user can invoke Charset.availableCharsets().get(name) where name can be ISO-8859-1 and UTF-8.
[default] UTF_8