summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tests/RTCCM/Priority_Test/descriptors/basic-remote.cad
blob: da0abf2387b417e76588241c7503e39dbeef901b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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 "../../../../docs/XML/componentassembly.dtd">

<componentassembly id="A basic remote assembly for baseline performance of RTCCM Priority components.">
  <componentfiles>
    <componentfile id="com-Controller">
      <fileinarchive name="Controller.csd"/>
    </componentfile>
    <componentfile id="com-Worker">
      <fileinarchive name="CB_Worker.csd"/>
    </componentfile>
  </componentfiles>

  <partitioning>

  <!-- A plain vanilla partition.  We don't even need the processcollocation tag here. -->
      <homeplacement id="a_ControllerHome">
        <componentfileref idref="com-Controller"/>
        <componentinstantiation id="a_Controller">
          <registercomponent>
            <!-- writeiortofile is a non-standard CIAO extension.  -->
            <writeiortofile name="controller.ior"/>
          </registercomponent>
        </componentinstantiation>
      </homeplacement>

     <processcollocation>
      <homeplacement id="a_WorkerHome">
        <componentfileref idref="com-Worker"/>
        <componentinstantiation id="a_Worker"/>
      </homeplacement>
      <destination>Remote</destination>
     </processcollocation> 

  </partitioning>

  <connections>

    <connectinterface>
      <usesport>
        <usesidentifier>worker</usesidentifier>
        <componentinstantiationref idref="a_Controller"/>
      </usesport>
      <providesport>
        <providesidentifier>some_device</providesidentifier>
        <componentinstantiationref idref="a_Worker"/>
      </providesport>
    </connectinterface>

  </connections>

</componentassembly>