Class EtsiPayloadConfiguration
java.lang.Object
org.eclipse.mosaic.lib.objects.v2x.etsi.EtsiPayloadConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
If set totrue
, the payload of CAM, DENM, SPATM, and IVIM messages are encoded into a byte array. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EtsiPayloadConfiguration
static void
setPayloadConfiguration
(EtsiPayloadConfiguration payloadConfiguration)
-
Field Details
-
encodePayloads
public final boolean encodePayloadsIf set totrue
, the payload of CAM, DENM, SPATM, and IVIM messages are encoded into a byte array. This is required if other simulators except ApplicationNT need to read actual data from the message. However, enabling this would more computation time and memory consumption.
-
-
Constructor Details
-
EtsiPayloadConfiguration
public EtsiPayloadConfiguration(boolean encodePayloads)
-
-
Method Details
-
getPayloadConfiguration
-
setPayloadConfiguration
-