summaryrefslogtreecommitdiff
path: root/TAO/CIAO/examples/Hello/descriptors_RTCCM/rt-config-example.csr
blob: b55d7ee52e525055b0e985e2c443da4f5ebd3d98 (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
66
67
68
69
70
71
72
73
74
75

<CIAO:ServerResources
 xmlns:CIAO="http://www.dre.vanderbilt.edu/ServerResources"
 xmlns:xmi="http://www.omg.org/XMI"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.dre.vanderbilt.edu/ServerResources CIAOServerResources.xsd"
 id="test_server_resource_id">

  <cmdline>
    <arg> -ORBDebugLevel 10 -ORBEndpoint corbaloc://foo/bar</arg>
  </cmdline>

  <svcconf>
    <uri>
      svcconf.uri
    </uri>
  </svcconf>

  <orbConfigs>
    <resources>
      <threadpool id="threadpool-1">
        <stacksize>0</stacksize>
        <static_threads>5</static_threads>
        <dynamic_threads>0</dynamic_threads>
        <default_priority>1</default_priority>
        <allow_request_buffering>false</allow_request_buffering>
        <max_buffered_requests>0</max_buffered_requests>
        <max_request_buffered_size>0</max_request_buffered_size>
      </threadpool>

     <threadpoolWithLanes id="threadpool-2">
        <threadpoolLane>
          <static_threads>5</static_threads>
          <dynamic_threads>0</dynamic_threads>
          <priority>2</priority>
        </threadpoolLane>
        <threadpoolLane>
          <static_threads>5</static_threads>
          <dynamic_threads>0</dynamic_threads>
          <priority>1</priority>
        </threadpoolLane>
        <stacksize>0</stacksize>
        <allow_borrowing>false</allow_borrowing>
        <allow_request_buffering>false</allow_request_buffering>
        <max_buffered_requests>0</max_buffered_requests>
        <max_request_buffered_size>0</max_request_buffered_size>
      </threadpoolWithLanes>

      <connectionBands id="cb-1">
        <band>
          <low>0</low>
          <high>10</high>
        </band>
        <band>
          <low>11</low>
          <high>20</high>
        </band>
      </connectionBands>
    </resources>

    <policySet id="test_policy_set_id">
      <priorityModel server_priority="1">
        <priority_model>SERVER_DECLARED</priority_model>
      </priorityModel>
    </policySet>

    <policySet id="test_policy_set_2">
      <priorityModel>
        <priority_model>CLIENT_PROPAGATED</priority_model>
      </priorityModel>
      <threadpool>threadpool-2</threadpool>
    </policySet>

  </orbConfigs>
</CIAO:ServerResources>