RTI Connext Java API Version 7.7.0
Compliance Class Reference

This class contains methods to configure the compliance masks. More...

Classes

class  XTypesMask
 XTypes compliance mask. More...
 

Static Public Member Functions

static void set_xtypes_mask (XTypesMask mask)
 Sets the level of compliance of the application with the XTypes specification. More...
 
static void load_masks ()
 Load the compliance masks from the environment variables. More...
 

Detailed Description

This class contains methods to configure the compliance masks.

Member Function Documentation

◆ set_xtypes_mask()

static void set_xtypes_mask ( XTypesMask  mask)
static

Sets the level of compliance of the application with the XTypes specification.

The com.rti.ndds.config.Compliance.XTypesMask configures different aspects of the Extended CDR encoding (XCDR and XCDR2) for the application.

Once you call this function the value of the mask will apply to all the entities created after the call. It won't apply to entities created before the call.

In general, applications should only set the mask once, before executing any other RTI Connext API. The mask can also be set using the environment variable NDDS_XTYPES_COMPLIANCE_MASK.

Parameters
mask<<in>> Compliance mask.
See also
com.rti.ndds.config.Compliance.XTypesMask
com.rti.ndds.config.Compliance.get_xtypes_mask
com.rti.ndds.config.Compliance.load_masks

References Compliance.XTypesMask.get().

◆ load_masks()

static void load_masks ( )
static

Load the compliance masks from the environment variables.

This function loads the XTypes and RPC compliance masks from the environment, which can be set using the environment variables NDDS_XTYPES_COMPLIANCE_MASK and NDDS_RPC_COMPLIANCE_MASK.

See also
com.rti.ndds.config.Compliance.XTypesMask
com.rti.ndds.config.Compliance.set_xtypes_mask
com.rti.ndds.config.Compliance.get_xtypes_mask
com.rti.ndds.config.RpcComplianceMask
com.rti.ndds.config.RpcCompliance.set_rpc_compliance_mask
com.rti.ndds.config.RpcCompliance.get_rpc_compliance_mask