summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-05-11 16:31:38 +0000
committerdengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-05-11 16:31:38 +0000
commit2dc0ea8e582a3cc7dca53cc92886cc648b0ebdbd (patch)
tree1937165aa8a406931669486f212f97b550943252
parent1e731d268ac2c1b28786c2ea180aabbccd7826e4 (diff)
downloadATCD-2dc0ea8e582a3cc7dca53cc92886cc648b0ebdbd.tar.gz
*** empty log message ***
-rw-r--r--TAO/CIAO/examples/UAV/descriptors/test.dat14
-rw-r--r--TAO/CIAO/examples/UAV/descriptors/two_component.cad55
2 files changed, 62 insertions, 7 deletions
diff --git a/TAO/CIAO/examples/UAV/descriptors/test.dat b/TAO/CIAO/examples/UAV/descriptors/test.dat
index 21de8127d05..f1a9b1c0d46 100644
--- a/TAO/CIAO/examples/UAV/descriptors/test.dat
+++ b/TAO/CIAO/examples/UAV/descriptors/test.dat
@@ -1,7 +1,7 @@
-CAOCHost corbaloc:iiop:pc119.emulab.net:20000/ServerActivator
-EngagementBattleHost corbaloc:iiop:pc112.emulab.net:20000/ServerActivator
-SatelliteHost corbaloc:iiop:pc157.emulab.net:20000/ServerActivator
-UAVGSHost corbaloc:iiop:pc144.emulab.net:20000/ServerActivator
-UAVHost corbaloc:iiop:pc96.emulab.net:20000/ServerActivator
-UCAVGSHost corbaloc:iiop:pc168.emulab.net:20000/ServerActivator
-UCAVHost corbaloc:iiop:pc107.emulab.net:20000/ServerActivator
+CAOCHost corbaloc:iiop:pc115.emulab.net:20000/ServerActivator
+EngagementBattleHost corbaloc:iiop:pc142.emulab.net:20000/ServerActivator
+SatelliteHost corbaloc:iiop:pc113.emulab.net:20000/ServerActivator
+UAVGSHost corbaloc:iiop:pc126.emulab.net:20000/ServerActivator
+UAVHost corbaloc:iiop:pc98.emulab.net:20000/ServerActivator
+UCAVGSHost corbaloc:iiop:pc111.emulab.net:20000/ServerActivator
+UCAVHost corbaloc:iiop:pc103.emulab.net:20000/ServerActivator
diff --git a/TAO/CIAO/examples/UAV/descriptors/two_component.cad b/TAO/CIAO/examples/UAV/descriptors/two_component.cad
new file mode 100644
index 00000000000..865f7c5a857
--- /dev/null
+++ b/TAO/CIAO/examples/UAV/descriptors/two_component.cad
@@ -0,0 +1,55 @@
+<?xml version="1.0"?> <!-- -*- SGML -*- -->
+
+<!-- If this file is moved to a different directory, make sure to change the
+ path to the DTD below. Otherwise the examples won't work. -->
+<!DOCTYPE componentassembly SYSTEM "http://www.dre.vanderbilt.edu/CIAO/DTD/componentassembly.dtd">
+
+<componentassembly id="Collocated component test">
+ <componentfiles>
+ <componentfile id="com-Satellite">
+ <fileinarchive name="Satellite.csd"/>
+ </componentfile>
+ <componentfile id="com-CAOC">
+ <fileinarchive name="CAOC.csd"/>
+ </componentfile>
+ </componentfiles>
+
+ <partitioning>
+
+ <homeplacement id="a_SatelliteHome">
+ <componentfileref idref="com-Satellite"/>
+ <componentinstantiation id="a_Satellite">
+ <registercomponent>
+ <!-- writeiortofile is a non-standard CIAO extension. -->
+ <writeiortofile name="sat.ior"/>
+ </registercomponent>
+ </componentinstantiation>
+ </homeplacement>
+
+ <processcollocation>
+ <homeplacement id="a_CAOCHome">
+ <componentfileref idref="com-CAOC"/>
+ <componentinstantiation id="a_CAOC">
+ </componentinstantiation>
+ </homeplacement>
+ <destination>CAOCSHost</destination>
+ </processcollocation>
+
+ </partitioning>
+
+ <connections>
+
+ <connectevent>
+ <consumesport>
+ <consumesidentifier>target_located</consumesidentifier>
+ <componentinstantiationref idref="a_CAOC"/>
+ </consumesport>
+ <publishesport>
+ <publishesidentifier>target_located</publishesidentifier>
+ <componentinstantiationref idref="a_Satellite"/>
+ </publishesport>
+ </connectevent>
+
+ </connections>
+
+</componentassembly>