<services> <publish name="position" > ... </publish> <alias name="myAlias" service="position" /> </services>
<services> <publish name="position" uri="http://mynamespace.com" > ... </publish> <alias name="myAlias" uri="http://mynamespace.com" service="position" serviceURI="http://mynamespace.com" /> </services>In this other example, the alias is in the
http://aliasnamespace.com
namespace and the service is in the http://refnamespace.com
namespace:<services> <publish name="position" uri="http://mynamespace.com" > ... </publish> <alias name="myAlias" uri="http://aliasnamespace.com" service="position" serviceURI="http://refnamespace.com" /> </services>
acPosition
service is an alias of the position
service.<services> <publish name="position" > <data name="latitude" type="float" /> <data name="longitude" type="float" /> <data name="altitude" type="float" /> </publish> <alias name="acPosition" service="position" /> </services>Suppose that we have the following applications configuration:
<application name="Aircraft" id="1"> <modules> <module name="FlightManagementSystem" id="1" > <interfaces> <subscribe service="acPosition" /> </interfaces> </module> <module name="InertialNavSystem" id="2" > <interfaces> <push service="position" /> </interfaces> </module> </modules> </application>The
InertialNavSystem
module provides the position
service, and the FlightManagementSystem
module subscribes to this service, because the acPosition
service is an alias to the position
service.Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence