Function | communicate with an Ivy bus |
Distribution | ivyModule-bin- |
Jar files | ivyModule.jar |
Modules | ivy |
Provided services | through module configuration |
Required services | through module configuration |
Optional properties | host sendPatterns receivePatterns |
<interfaces> <subscribe service="aircraft" /> <subscribe service="scenario" /> </interfaces>Note that only the following data types are supported by the Ivy module:
host
: the host name and port for the Ivy bus. Note that this property should be not null if the Ivy Module must create the bus[2]
127.0.0.1:2010
sendPatterns
: the Ivy patterns for the services sent by the executable connected to the Ivy busreceivePatterns
: the Ivy patterns for the services received by the executable connected to the Ivy bussendPatterns
and receivePatterns
values are strings which may contain ${data_name}
expressions. For example:<properties> <application name="ivy" > <module name="module1" > <moduleProperty key="sendPatterns" > >mapValue key="outputService1" value="^IMRP ${posX} ${posY}" /> >mapValue key="outputService2" value="^IMRP2 ${bool1} ${bool2}" /> </moduleProperty> </module> </application> </properties>
${data_name}
by (.*)
. For example, in the above case, the module will listen for the following patterns on the Ivy bus:^IMRP posX=(.*) posY=(.*)
^IMRP2 bool1=(.*) bool2=(.*)
${data_name}
patterns.
sendPatterns
property, the module will listen to the converted patterns from the Ivy bus, and decode the datas according to their types. The associated services will be invokedreceivePatterns
property, the module will convert the service datas and send the associated Ivy string to the Ivy bus127.0.0.1:2010
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence