summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Lanes/consumer.conf
blob: 010cd3e95f1ab415cdb653bdf5790c5c08fbaec6 (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
##---- Load the Factories------
dynamic TAO_RT_ORB_Loader Service_Object *
TAO_RTCORBA:_make_TAO_RT_ORB_Loader () "-ORBSchedPolicy SCHED_FIFO -ORBScopePolicy PROCESS -ORBPriorityMapping continuous"

dynamic TAO_NS_RT_Application_Command_Factory Service_Object * TAO_RT_NotifyTests:_make_TAO_NS_RT_Application_Command_Factory () ""
##dynamic TAO_NS_Application_Command_Factory Service_Object * TAO_NotifyTests:_make_TAO_NS_Application_Command_Factory () ""
dynamic TAO_NS_ConsumerAdmin_Command_Factory Service_Object *TAO_NotifyTests:_make_TAO_NS_ConsumerAdmin_Command_Factory () ""

dynamic TAO_NS_Periodic_Consumer_Command_Factory Service_Object* TAO_NotifyTests:_make_TAO_NS_Periodic_Consumer_Command_Factory () ""

dynamic TAO_NS_Filter_Command_Factory Service_Object* TAO_NotifyTests:_make_TAO_NS_Filter_Command_Factory () ""

dynamic TAO_NS_RT_POA_Command_Factory Service_Object* TAO_RT_NotifyTests:_make_TAO_NS_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 -ThreadPoolLanes 3 -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"