<services> <event name="setProperty" > <data name="propertyID" type="string" /> <data name="propertyValue" type="int" /> </event > </services>And the code invoking the service at the start of the provider module:
public void start() { setPropertyService.setDataValue("propertyID", "property1"); setPropertyService.setDataValue("propertyValue", 1); setPropertyService.invoke(); setPropertyService.setDataValue("propertyID", "property2"); setPropertyService.setDataValue("propertyValue", 10); setPropertyService.invoke(); }In this case, in the default configuration of the framework, the subscriber will only see the values for the second invocation.
<files> ... <property key="eventServicesCopyDatas" value="true" /> </files>Configuration for a specific event Service:
<services> <event name="directTo" copyDatas="true" > <data name="waypoint" type="int" /> </event > </services>
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence