PublishModule
module increments or decrements a value cyclicallyEventModule
module allows to click on a toggle to set if the first module should increment or decrement the value, and shows the valuePublishModule
by the userInputs application.
PublishModule
which:EventModule
which:PublishModule
by the userInputs application:applications.xml
XML file has to be modified.
applications.xml
XML file, by replacing the PublishModule
configuration by userInputs
: <applications> <application name="eventAppli" id="1"> <deployment> <lib url="samplesEvent.jar" /> </deployment> <modules> <module name="EventModule" id="1" > <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="userInputs" id="23"> <deployment> <lib url="userInputs.jar" /> </deployment> <modules> <module name="userInputs" id="1" > <interfaces> <eventReceived service="event"/> <push service="published" attach="attach"/> </interfaces> </module> </modules> </application> </applications>
Service "event" notified
is shown on the log area each time you press on the buttonCopyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence