world
service:<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> </namespace> </services>
world
service. See the types for this tutorial.
<applications> <application name="tacticalenv"> <deployment> <lib url="tacticalEnv.jar" /> </deployment> <interfaces> <eventSend service="world" uri="http://dassault-aviation.com/tacticalenv"/> </interfaces> </application> <application name="userInputs"> <deployment> <lib url="userInputs.jar" /> </deployment> <interfaces> <eventReceived service="world" uri="http://dassault-aviation.com/tacticalenv"/> </interfaces> </application> </applications>See the applications specification for this tutorial.
<applications> <application name="tacticalenv"> <deployment> <lib url="tacticalEnv.jar" /> </deployment> </application> <application name="userInputs"> <deployment> <lib url="userInputs.jar" /> </deployment> <interfaces> <eventReceived service="world" uri="http://dassault-aviation.com/tacticalenv"/> </interfaces> </application> </applications>
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:world
service has already been received at start so you see the following log in the userInputs application GUI:http://dassault-aviation.com/tacticalenv:world
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