RTI Connext Java API  Version 6.1.2

A list of data representations and compression methods supported by a com.rti.dds.publication.DataWriter or com.rti.dds.subscription.DataReader. More...

Classes

class  DataRepresentationQosPolicy
 This QoS policy contains a list of representation identifiers and compression settings used by com.rti.dds.publication.DataWriter and com.rti.dds.subscription.DataReader entities to negotiate which data representation and compression settings to use. More...
 

Variables

static final short XCDR_DATA_REPRESENTATION = 0
 Corresponds to the Extended Common Data Representation encoding version 1. More...
 
static final short XML_DATA_REPRESENTATION = 1
 Corresponds to the XML Data Representation (unsupported). More...
 
static final short XCDR2_DATA_REPRESENTATION = 2
 Corresponds to the Extended Common Data Representation encoding version 2. More...
 
static final short AUTO_DATA_REPRESENTATION = -1
 Representation is automatically chosen based on the type. More...
 
static final QosPolicyId_t DATA_REPRESENTATION_QOS_POLICY_ID
 Identifier for com.rti.dds.infrastructure.DataRepresentationQosPolicy. More...
 

Detailed Description

A list of data representations and compression methods supported by a com.rti.dds.publication.DataWriter or com.rti.dds.subscription.DataReader.

Variable Documentation

◆ XCDR_DATA_REPRESENTATION

final short XCDR_DATA_REPRESENTATION = 0
static

Corresponds to the Extended Common Data Representation encoding version 1.

◆ XML_DATA_REPRESENTATION

final short XML_DATA_REPRESENTATION = 1
static

Corresponds to the XML Data Representation (unsupported).

Note
This value is currently not supported.

◆ XCDR2_DATA_REPRESENTATION

final short XCDR2_DATA_REPRESENTATION = 2
static

Corresponds to the Extended Common Data Representation encoding version 2.

◆ AUTO_DATA_REPRESENTATION

final short AUTO_DATA_REPRESENTATION = -1
static

Representation is automatically chosen based on the type.

For plain language binding, if the allowed_data_representation annotation is not specified or if it contains the value XCDR, RTI Connext translates this field to com.rti.dds.infrastructure.DataRepresentationQosPolicy.XCDR_DATA_REPRESENTATION. Otherwise, it translates this field to com.rti.dds.infrastructure.DataRepresentationQosPolicy.XCDR2_DATA_REPRESENTATION.

For the FlatData language binding, RTI Connext translates this field to com.rti.dds.infrastructure.DataRepresentationQosPolicy.XCDR2_DATA_REPRESENTATION.

Referenced by TypeCode.cdr_serialized_sample_key_max_size(), TypeCode.cdr_serialized_sample_max_size(), TypeCode.cdr_serialized_sample_min_size(), DynamicDataTypeSupport.to_cdr_buffer(), and DynamicData.to_cdr_buffer().

◆ DATA_REPRESENTATION_QOS_POLICY_ID

final QosPolicyId_t DATA_REPRESENTATION_QOS_POLICY_ID
static