launcher
property for our External Communication module.
<network> <channel name="event" type="input" port="8080" > <service name="published" /> </channel> <channel name="publish" type="output" port="8081"> <service name="event" /> </channel> </network>
launcher
property in the properties configuration:<properties> <application name="externalComm" > <module name="externalComm" > <moduleProperty key="network" value="network.xml" /> <moduleProperty key="endianness" value="littleEndian" /> <moduleProperty key="charAs8Bits" value="true" /> <moduleProperty key="launcher" value="launcher.xml" /> </module> </application> </properties>
<launcher> <executable path="PublishAppli.exe" redirectIO="true" wait="500ms"> <portArgument key="input" channel="event" /> <portArgument key="output" channel="publish" /> </executable> </launcher>This configuration will call the
PublishAppli.exe
executable with the following arguments:
PublishAppli.exe input=8080 output=8081
Note that in our example we will start directly the target through the launcher
property. If the C# code is integrated into Unity, we might have to start the application independantly from teh framework, without using the launcher
property.
PublishAppli.exe
executable. Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence