summaryrefslogtreecommitdiff
path: root/trunk/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.cad
blob: d53416195a257f36583e371eb499b8350798236b (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
<?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 Round-Trip test">
  <componentfiles>
    <componentfile id="com-RoundTrip">
      <fileinarchive name="RoundTrip.csd"/>
    </componentfile>
    <componentfile id="com-RoundTripClient">
      <fileinarchive name="RoundTripClient.csd"/>
    </componentfile>
  </componentfiles>

  <partitioning>

<homeplacement id="a_RoundTripHome">
        <componentfileref idref="com-RoundTrip"/>
        <componentinstantiation id="a_RoundTrip"/>
      </homeplacement>

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

     </partitioning>

  <connections>
    <connectinterface>
      <usesport>
        <usesidentifier>latency</usesidentifier>
        <componentinstantiationref idref="a_RoundTripClient"/>
      </usesport>
      <providesport>
        <providesidentifier>latency</providesidentifier>
        <componentinstantiationref idref="a_RoundTrip"/>
      </providesport>
    </connectinterface>
  </connections>

</componentassembly>