world
service provided by the tacticalEnv Application, and the worldModel
service, provided by the tacticalenvModel Application:<services> <namespace uri="http://dassault-aviation.com/tacticalenv"> <event name="world"> <data name="feba" type="feba" /> <data name="targets" type="targetArray" /> <data name="zones" type="zoneArray" /> <data name="corridors" type="corridorArray" /> <data name="bases" type="baseArray" /> <data name="threats" type="threatArray" /> <data name="elements" type="elementArray" /> </event> <event name="worldModel"> <data name="feba" type="febaObject" /> <data name="targets" type="targets" /> <data name="zones" type="zones" /> <data name="corridors" type="corridors" /> <data name="bases" type="bases" /> <data name="threats" type="threats" /> <data name="elements" type="elements" /> </event> </namespace> </services>
world
service. See the types for this tutorial.
<applications> <deployment> <lib url="tacticalEnvCommon.jar" /> </deployment> <application name="tacticalenv"> <deployment> <lib url="tacticalEnv.jar" /> <lib url="tacticalEnvModel.jar" /> </deployment> <modules> <module name="tacticalenv"> <interfaces> <eventSend service="world" uri="http://dassault-aviation.com/tacticalenv"/> </interfaces> </module> <module name="tacticalenvModel"> <interfaces> <eventReceived service="world" uri="http://dassault-aviation.com/tacticalenv"/> <eventSend service="worldModel" uri="http://dassault-aviation.com/tacticalenv"/> </interfaces> </module> </modules> </application> <application name="userInputs"> <deployment> <lib url="userInputs.jar" /> </deployment> <module name="userInputs" > <interfaces> <eventReceived service="worldModel" uri="http://dassault-aviation.com/tacticalenv"/> </interfaces> </module> </application> </applications>See the applications specification for this tutorial.
<applications> <deployment> <lib url="tacticalEnvCommon.jar" /> </deployment> <application name="tacticalenv"> <deployment> <lib url="tacticalEnv.jar" /> <lib url="tacticalEnvModel.jar" /> </deployment> </application> <application name="userInputs"> <deployment> <lib url="userInputs.jar" /> </deployment> <module name="userInputs" > <interfaces> <eventReceived service="worldModel" uri="http://dassault-aviation.com/tacticalenv"/> </interfaces> </module> </application> </applications>
tacticalEnvCommon.jar
jar file at the root level of the applications
declaration because you use it in another application.
scenario
for the tacticalEnv Application:<properties> <application name="tacticalenv"> <module name="tacticalenv"> <moduleProperty key="scenario" value="config.xml" /> </module> </application> </properties>
filelist.xml
file for our configuration[1]
config
argument and specify the filelist after the start
java -jar protoframework.jar config=filelist.xml
One Window for the userInputs application will appear:http://dassault-aviation.com/tacticalenv:worldModel
service has already been received at start so you see the following log in the userInputs application GUI:http://dassault-aviation.com/tacticalenv:worldModel
service in the userInputs GUI, you will see the content of the service:config
argument and specify the filelist after the startCopyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence