summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/RtEC/ECConfigurator/clientconfig.xml
blob: bc30cc5222dcdf5e64810d6806d9f05efb0e999f (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
<?xml version="1.0"?>
<!DOCTYPE ECConfiguration SYSTEM "ecconfig.dtd">

<ECConfiguration>
    
<!-- Define the events -->
<Timeout name="Subtask1.1 Timeout" >
  <Period>200</Period> <!-- in msec -->
  <Phase>0</Phase> <!-- in msec -->
</Timeout>
  
<Event name="Subtask1.1 Trigger" > <!-- name must be unique among Events -->
  <Period>200</Period> <!-- in msec -->
  <Phase>0</Phase> <!-- in msec -->
  <Criticality value="VERY_LOW" />
  <Importance value="VERY_LOW" />
  <WorstExecution>50</WorstExecution> <!-- in msec -->
  <TypicalExecution>50</TypicalExecution> <!-- in msec -->
</Event>

<Event name="Subtask1.2 Trigger" >
  <Period>200</Period> <!-- in msec -->
  <Phase>0</Phase> <!-- in msec -->
  <Criticality value="VERY_LOW" />
  <Importance value="VERY_LOW" />
  <WorstExecution>50</WorstExecution> <!-- in msec -->
  <TypicalExecution>50</TypicalExecution> <!-- in msec -->
</Event>

<!-- Configure the ECs -->
<RemoteEventChannel name="Server" >
  <IORFile>server.ior</IORFile>
</RemoteEventChannel>

<LocalEventChannel name="Client" >
  <SchedulingStrategy type="EDF" enableRG="true" />
  <Consumer name="Subtask1.1 Executor" >
    <Subscriptions>
      <EventName>Subtask1.1 Trigger</EventName>
    </Subscriptions>
    <Dependants>
      <!-- no need for Supplier to be declared already -->
      <SupplierName>Subtask1.2 Supplier</SupplierName>
    </Dependants>
  </Consumer>
  <Supplier name="Subtask1.2 Supplier" >
    <Publications>
      <EventName>Subtask1.2 Trigger</EventName>
    </Publications>
    <Triggers>
      <TimeoutName>Subtask1.1 Timeout</TimeoutName>
    </Triggers>
  </Supplier>
</LocalEventChannel>

<!-- Configure the driver -->
<!-- there should only be one Driver -->
<TestDriver>
  <StartCondition type="DelayAfterConnect" master="yes" >
    <Time>30000</Time> <!-- in msecs -->
  </StartCondition>
  <StopCondition type="Duration" >
    <Value>300000</Value> <!-- duration in msecs -->
  </StopCondition>
</TestDriver>

</ECConfiguration>