If i use the deployer with this xml :
<!-- Camera --> <struct name="Camera" type="Video::Camera"> <!-- Activity --> <struct name="Activity" type="PeriodicActivity"> <simple name="Period" type="double"><value>5</value></simple> <simple name="Priority" type="short"><value>0</value></simple> </struct> <!-- Configure and Start and Connect --> <simple name="AutoConf" type="boolean"><value>1</value></simple> <simple name="AutoConnect" type="boolean"><value>1</value></simple> <simple name="AutoStart" type="boolean"><value>1</value></simple> </struct> <!-- Reporter --> <struct name="Reporter" type="Video::ImageReporter"> <!-- Connect to Peers --> <struct name="Peers" type="PropertyBag"> <simple type="string"><value>Camera</value></simple> </struct> <!-- Configure and Connect Ports --> <simple name="AutoConf" type="boolean"><value>1</value></simple> <simple name="AutoConnect" type="boolean"><value>1</value></simple> <simple name="AutoStart" type="boolean"><value>0</value></simple> </struct>
The connections are done automagicaly.
But if if divide this xml in two for deploying over two machines, i had to give ports to connect.
<!-- Camera --> <struct name="Camera" type="Video::Camera"> <simple name="Server" type="boolean"><value>1</value></simple> <!-- Activity --> <struct name="Activity" type="PeriodicActivity"> <simple name="Period" type="double"><value>4</value></simple> <simple name="Priority" type="short"><value>0</value></simple> </struct> <!-- Configure and Start and Connect --> <simple name="AutoConf" type="boolean"><value>1</value></simple> <simple name="AutoConnect" type="boolean"><value>1</value></simple> <simple name="AutoStart" type="boolean"><value>1</value></simple> </struct>
<!-- Camera --> <struct name="Camera" type="CORBA"> <!-- Give ports --> <struct name="Ports" type="PropertyBag"> <simple name="image" type="string"><value>img</value></simple> </struct> </struct> <!-- Reporter --> <struct name="Reporter" type="Video::ImageReporter"> <!-- Connect to Peers --> <struct name="Peers" type="PropertyBag"> <simple type="string"><value>Camera</value></simple> </struct> <!-- Give ports --> <struct name="Ports" type="PropertyBag"> <simple name="image" type="string"><value>img</value></simple> </struct> <!-- Activity : because events don t work over corba --> <struct name="Activity" type="PeriodicActivity"> <simple name="Period" type="double"><value>4</value></simple> <simple name="Priority" type="short"><value>0</value></simple> </struct> <!-- Configure and Connect Ports --> <simple name="AutoConf" type="boolean"><value>1</value></simple> <simple name="AutoConnect" type="boolean"><value>1</value></simple> <simple name="AutoStart" type="boolean"><value>0</value></simple> </struct>
Is it a feature ?
Thanks for your help.
Paul.
Deployer corba and autoconnect behaviour.
If i use the deployer with this xml :
The connections are done automagicaly.
But if if divide this xml in two for deploying over two machines, i had to give ports to connect.
Is it a feature ?
Thanks for your help.
Paul.