Class EtsiPayloadConfiguration
- java.lang.Object
-
- org.eclipse.mosaic.lib.objects.v2x.etsi.EtsiPayloadConfiguration
-
public class EtsiPayloadConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
encodePayloads
If set totrue
, the payload of CAM, DENM, SPATM, and IVIM messages are encoded into a byte array.
-
Constructor Summary
Constructors Constructor Description EtsiPayloadConfiguration(boolean encodePayloads)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EtsiPayloadConfiguration
getPayloadConfiguration()
static void
setPayloadConfiguration(EtsiPayloadConfiguration payloadConfiguration)
-
-
-
Field Detail
-
encodePayloads
public final boolean encodePayloads
If 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.
-
-
Method Detail
-
getPayloadConfiguration
public static EtsiPayloadConfiguration getPayloadConfiguration()
-
setPayloadConfiguration
public static void setPayloadConfiguration(EtsiPayloadConfiguration payloadConfiguration)
-
-