summaryrefslogtreecommitdiff
path: root/TAO/CIAO/examples/Hello/descriptors/default.cad
blob: d5e502d6f84f6f357d4d91dab00f28686b0321e4 (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
60
61
62
63
64
65
<?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"/>
      </homeplacement>

</partitioning>

  <connections>

    <connectevent>
      <consumesport>
        <consumesidentifier>click_in</consumesidentifier>
        <componentinstantiationref idref="a_Receiver"/>
      </consumesport>
      <publishesport>
        <publishesidentifier>click_out</publishesidentifier>
        <componentinstantiationref idref="a_Sender"/>
      </publishesport>
    </connectevent>

    <connectinterface>
      <usesport>
        <usesidentifier>read_message</usesidentifier>
        <componentinstantiationref idref="a_Receiver"/>
      </usesport>
      <providesport>
        <providesidentifier>push_message</providesidentifier>
        <componentinstantiationref idref="a_Sender"/>
      </providesport>
    </connectinterface>

  </connections>

</componentassembly>