diff options
-rw-r--r-- | TAO/CIAO/examples/UAV/descriptors/test.dat | 14 | ||||
-rw-r--r-- | TAO/CIAO/examples/UAV/descriptors/two_component.cad | 55 |
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> |