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

<ECConfiguration>
    
<!-- Define the events -->
<!-- THESE NEED TO BE THE SAME AS DEFINED IN THE CLIENT XML! -->
<Timeout name="Subtask1 Timeout" >
  <Period>200</Period> <!-- in msec -->
  <Phase>0</Phase> <!-- in msec -->
</Timeout>
  
<Event name="Subtask1 Trigger" type="16">
  <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="Subtask2 Trigger" type="17">
  <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="Middle" >
  <IORFile>middle.ior</IORFile>
</RemoteEventChannel>

<LocalEventChannel name="Server" >
  <SchedulingStrategy type="EDF" enableRG="true" />
  <Supplier name="Subtask1 Notifier" id="1">
    <Publications>
      <EventName>Subtask1 Trigger</EventName>
    </Publications>
    <Triggers>
      <TimeoutName>Subtask1 Timeout</TimeoutName>
    </Triggers>
  </Supplier>
  <Supplier name="Subtask2 Notifier" id="2">
    <Publications>
      <EventName>Subtask2 Trigger</EventName>
    </Publications>
  </Supplier>
  <Consumer name="Subtask1 Executor" >
    <Subscriptions>
      <EventName>Subtask1 Trigger</EventName>
    </Subscriptions>
    <Dependants>
      <SupplierName>Subtask2 Notifier</SupplierName>
    </Dependants>
  </Consumer>
</LocalEventChannel>

<!-- Configure the driver -->
<TestDriver>
  <StartCondition type="DelayAfterConnect" master="yes" >
    <Time>30000</Time> <!-- in msecs -->
  </StartCondition>
  <StopCondition type="Duration" >
    <Value>340000</Value> <!-- duration in msecs -->
  </StopCondition>
</TestDriver>

</ECConfiguration>