summaryrefslogtreecommitdiff
path: root/CIAO/performance-tests/Protocols/descriptors/default.cad
blob: 7f518423e70b726975387f8d0075cdaec29e4d70 (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
56
57
58
59
<?xml version="1.0"?> <!-- -*- SGML -*-  -->

<!-- $Id$ -->
<!-- This file must be pre-processed for final location based on $CIAO_ROOT -->
<!DOCTYPE componentassembly SYSTEM "../../../docs/XML/componentassembly.dtd">


<componentassembly id="componentized assembly">

  <componentfiles>

    <componentfile id="com-Sender">
      <fileinarchive name="Sender.csd"/>
    </componentfile>

    <componentfile id="com-Receiver">
      <fileinarchive name="Receiver.csd"/>
    </componentfile>

  </componentfiles>

  <partitioning>

      <homeplacement id="a_SenderHome">
        <componentfileref idref="com-Sender"/>
        <componentinstantiation id="a_Sender">
         <registercomponent>
            <writeiortofile name="sender.ior"/>
          </registercomponent>
        </componentinstantiation>
      </homeplacement>

      <homeplacement id="a_ReceiverHome">
        <componentfileref idref="com-Receiver"/>
        <componentinstantiation id="a_Receiver">
         <registercomponent>
            <writeiortofile name="receiver.ior"/>
          </registercomponent>
        </componentinstantiation>
      </homeplacement>

  </partitioning>

  <connections>

    <connectinterface>
      <usesport>
        <usesidentifier>reader</usesidentifier>
        <componentinstantiationref idref="a_Sender"/>
      </usesport>
      <providesport>
        <providesidentifier>writer</providesidentifier>
        <componentinstantiationref idref="a_Receiver"/>
      </providesport>
    </connectinterface>

  </connections>

</componentassembly>