RTI Connext Java API  Version 6.0.1
 All Classes Namespaces Functions Variables Groups Pages
DATA_REPRESENTATION

A list of data representations 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 used by com.rti.dds.publication.DataWriter and com.rti.dds.subscription.DataReader entities to negotiate which data representation to use. More...
 

Variables

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

Detailed Description

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

Variable Documentation

final short XCDR_DATA_REPRESENTATION = 0
static

Corresponds to the Extended Common Data Representation encoding version 1.

final short XML_DATA_REPRESENTATION = 1
static

Corresponds to the XML Data Representation (unsupported).

Note
This value is currently not supported.
final short XCDR2_DATA_REPRESENTATION = 2
static

Corresponds to the Extended Common Data Representation encoding version 2.

final short AUTO_DATA_REPRESENTATION = -1
static

Representation is automatically chosen based on the type.

For plain language binding, if the allow_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.

final QosPolicyId_t DATA_REPRESENTATION_QOS_POLICY_ID
static

RTI Connext Java API Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc