summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/tests/Notify/Lanes/consumer.conf
blob: 98c0f0ed303dd85678de596fcda9838dbfaf496e (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
##---- Load the Factories------
dynamic TAO_RT_ORB_Loader Service_Object *TAO_RTCORBA:_make_TAO_RT_ORB_Loader () "-ORBPriorityMapping continuous"         
#
# Uncomment this line to use SCHED_FIFO
#dynamic TAO_RT_ORB_Loader Service_Object *TAO_RTCORBA:_make_TAO_RT_ORB_Loader () "-ORBSchedPolicy SCHED_FIFO -ORBScopePolicy PROCESS -ORBPriorityMapping continuous"
#
dynamic TAO_Notify_Tests_RT_Application_Command_Factory Service_Object * TAO_RT_NotifyTests:_make_TAO_Notify_Tests_RT_Application_Command_Factory () ""
##dynamic TAO_Notify_Tests_Application_Command_Factory Service_Object * TAO_NotifyTests:_make_TAO_Notify_Tests_Application_Command_Factory () ""
dynamic TAO_Notify_Tests_ConsumerAdmin_Command_Factory Service_Object *TAO_NotifyTests:_make_TAO_Notify_Tests_ConsumerAdmin_Command_Factory () ""
#
dynamic TAO_Notify_Tests_Periodic_Consumer_Command_Factory Service_Object* TAO_NotifyTests:_make_TAO_Notify_Tests_Periodic_Consumer_Command_Factory () ""
#
dynamic TAO_Notify_Tests_Filter_Command_Factory Service_Object* TAO_NotifyTests:_make_TAO_Notify_Tests_Filter_Command_Factory () ""
#
dynamic TAO_Notify_Tests_RT_POA_Command_Factory Service_Object* TAO_RT_NotifyTests:_make_TAO_Notify_Tests_RT_POA_Command_Factory () ""
#
##------- Init the Application Object ----------
static Command_Builder "Application -Init"
#
##----------- Create an RT POA to host local consumer objects-----------
static Command_Builder "POA -Create poa_1 -PriorityModel CLIENT 1 -Lanes 4 -Lane 0 1 0 -Lane 1 1 0 -Lane 2 1 0 -Lane 3 1 0"
#
##--------- Consumer Admin 1 -------------
static Command_Builder "ConsumerAdmin -Create ca1 ec1 -AND_OP"
#
##--------- Consumer 1 , connected to CA 1 --------
static Command_Builder "PeriodicConsumer -Create c1 -Admin ca1 -POA poa_1 -Proxy c1_proxy -MaxCount 5 -Check_Priority"
static Command_Builder "PeriodicConsumer -Subscription c1 +Path1"
#
static Command_Builder "Filter -CreateFilter f_c1 ff"
static Command_Builder "Filter -Add_Constraint f_c1 'PoolId = 1'"
static Command_Builder "Filter -Add_Constraint f_c1 'LaneId = 1'"
#
#static Command_Builder "Filter -Add_Filter f_c1 c1_proxy"
#
##--------- Consumer 2 , connected to CA 1 --------
static Command_Builder "PeriodicConsumer -Create c2 -Admin ca1 -POA poa_1 -Proxy c2_proxy -MaxCount 5 -Check_Priority"
static Command_Builder "PeriodicConsumer -Subscription c2 +Path2"
#
static Command_Builder "Filter -CreateFilter f_c2 ff"
static Command_Builder "Filter -Add_Constraint f_c2 'PoolId = 1'"
static Command_Builder "Filter -Add_Constraint f_c2 'LaneId = 2'"
#
#static Command_Builder "Filter -Add_Filter f_c2 c2_proxy"
#
##--------- Consumer 3 , connected to CA 1 --------
static Command_Builder "PeriodicConsumer -Create c3 -Admin ca1 -POA poa_1 -Proxy c3_proxy -MaxCount 5 -Check_Priority"
#
static Command_Builder "PeriodicConsumer -Subscription c3 +Path3"
#
static Command_Builder "Filter -CreateFilter f_c3 ff"
static Command_Builder "Filter -Add_Constraint f_c3 'PoolId = 1'"
static Command_Builder "Filter -Add_Constraint f_c3 'LaneId = 3'"
#
static Command_Builder "Filter -Add_Filter f_c3 c3_proxy"
#
##------- Run---------
static Command_Builder "Application -SignalPeer"
static Command_Builder "Application -Run"
static Command_Builder "Application -WaitForEvents"
static Command_Builder "Application -Shutdown"