| Function | record in an xml file |
| Distribution | scenarioEngine-bin- |
| Jar files | recorderEngine.jar |
| Modules | recorder |
| Provided services | none |
| Required services | none |
| Optional properties | scenariowriteSimpleValuesbufferSizeautoStartguiPositionformatsplitFilesincludeAllServicessplitNamePatternsplitGroupssplitIndexNamesplitTimeName |
| Image |
true, then the path is the path of the directory which will contain the files<x position;>;<y position;xml, but it can also be the json formattrue if the recorded scenario will be splitted, with one file per sercvice reception. If will only be used if the format is the json formatformat property is json and splitFiles is true:acDatas and fuelState services will be recorded:<interfaces> <push service="acDatas"/> <eventSend service="fuelState"/> </interfaces>
icon will show each time a record is performed:
<applications> <application name="eventAppli" > <deployment> <lib url="samples1Event.jar" /> </deployment> <modules> <module name="EventModule" > <implementation path="org.da.samples.protoframework.event.EventModule" > <initEntryPoint method="init" /> <defaultReceiveEntryPoint method="subscribe" /> </implementation> <interfaces> <eventSend service="event" attach="attach"/> <subscribe service="published" /> </interfaces> </module> </modules> </application> <application name="publishAppli" > <deployment> <lib url="samples1Publish.jar" /> </deployment> <modules> <module name="PublishModule" > <implementation path="org.da.samples.protoframework.publish.PublishModule" > <initEntryPoint method="init" /> <defaultReceiveEntryPoint method="subscribe" /> <defaultSendEntryPoint method="publish" /> </implementation> <interfaces> <eventReceived service="event"/> <cyclic service="published" frequency="200ms" attach="attach"/> </interfaces> </module> </modules> </application> </applications>We can add a recorder module in the configuration and make it listen to the two
event and published services:<applications> <application name="eventAppli" > <deployment> <lib url="samples1Event.jar" /> </deployment> <modules> <module name="EventModule" > <implementation path="org.da.samples.protoframework.event.EventModule" > <initEntryPoint method="init" /> <defaultReceiveEntryPoint method="subscribe" /> </implementation> <interfaces> <eventSend service="event" attach="attach"/> <subscribe service="published" /> </interfaces> </module> </modules> </application> <application name="publishAppli" > <deployment> <lib url="samples1Publish.jar" /> </deployment> <modules> <module name="PublishModule" > <implementation path="org.da.samples.protoframework.publish.PublishModule" > <initEntryPoint method="init" /> <defaultReceiveEntryPoint method="subscribe" /> <defaultSendEntryPoint method="publish" /> </implementation> <interfaces> <eventReceived service="event"/> <cyclic service="published" frequency="200ms" attach="attach"/> </interfaces> </module> </modules> </application> <application name="recorder" > <deployment> <lib url="recorderEngine.jar" /> </deployment> <modules> <module name="recorder" > <interfaces> <listen service="event"/> <listen service="published"/> </interfaces> </module> </modules> </application> </applications>
true, then the path is the path of the directory which will contain the filesCopyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence