Function | communicate through UDP or TCP with an external process |
Distribution | externalComm-bin- |
Jar files | externalComm.jar |
Modules | externalComm |
Provided services | through module configuration |
Required services | http://dassault-aviation.com/externalcomm:startServices http://dassault-aviation.com/externalcomm:stopServices through module configuration |
Mandatory properties | network |
Optional properties | charAs8Bits channelSize endianness swapMAGIC checkMAGIC swapServiceID acceptMultiple serializeBuffer serializeInputs invokeCopy checkStartStopURI queueServiceOutputs queueServiceOutputsSize queueServiceInputs queueServiceInputsSize serializeURL serializeAsJSON jsonCharset logDatas logFile launcher |
http://dassault-aviation.com/externalcomm:stopServices
service allow to stop an array of serviceshttp://dassault-aviation.com/externalcomm:startServices
service allow to start an array of servicesinvokeCopy
propertyapplicationID
or moduleID
.
network
: the XML file defining the configuration of the Network for the UDP or TCP socket emission or receptioncharAs8Bits
: true if chars will be sent and received as 8 bits (the default). Note that in Java chars are encoded as 16 bits, whereas in C chars are encoded as 8 bitschannelSize
: the size to use for the communication. By default a default size will be assumed by the underlying Netty library[3]
endianness
: the endianness to use for the communication. By default it is Big Endian, which is the endianness of the Java platform. See endianness for more informationswapMAGIC
: true if the MAGIC number of the communication protocol will be swapped (regardless of the value of the endianness
property), false if it will be not swapped (regardless of the value of the endianness
property). By default it will follow the behavior specified by the endianness
propertycheckMAGIC
: true if the MAGIC number value must be checkedacceptMultiple
: true if multiple services can be received in the same bufferswapServiceID
: true if the serviceID in the communication protocol will be swapped (regardless of the value of the endianness
property), false if it will be not swapped (regardless of the value of the endianness
property). By default it will follow the behavior specified by the endianness
propertyqueueServiceOutputs
: true if the outputs from the network to the framework must be queuedqueueServiceOutputsSize
: the size of the queue to use for the queuing of outputs from the network to the frameworkinvokeCopy
: true if services coming from decoding the network should be cloned before they are calledqueueServiceInputs
: true if the inputs from the framework to the network must be queuedqueueServiceInputsSize
: the size of the queue to use for the queuing of inputs from the framework to the networkserializeAsJSON
: true if the output must be serialzied as a JSON string (default is false)jsonCharset
: the charset to use for the JSON output (default is "UTF-8")launcher
: allows to specify the path to an external executable to launch and its launch arguments. See externalComm launcher for more informationserializeURL
: the XML file which should be used to serialized the reception of emission buffers. The format of this file is compatible with the player Application scenario format. Depending on the serializeInputs
boolean property, the inputs or outputs of the module from the external application will be serializedserializeInputs
: true if the inputs of the module from the external application must be serialized (in association with the serializeURL
property), false if the output of the module to the external application must be serializedserializeBuffer
: true if the inputs or outputs of the module must be serializedlogDatas
: allows to specify the datas will be logged. Note that the logFile
property must also be specified to effectively log the dataslogFile
: allows to specify a log file which will print the content of the buffer received by the ExternalComm module from the external application. This may be used to debug content which could be incorrectly serialized by your external application. Note that the logDatas
property must also be true to effectively log the dataseventAppli
and a rerouting External Communication to communicate with the second instancepublishAppli
and a rerouting External Communication to communicate with the first instancePublishModule
with the ExternalComm
module using C# code, and communicate using the External Communication module.PublishModule
with the ExternalComm
module, and launch a CSharp executable using the launcher
property.Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence