summaryrefslogtreecommitdiff
path: root/TAO/tests/Cubit/TAO/IDL_Cubit/svc.conf
blob: 43c6a486c9244f6557278922361e976f4c98367b (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
# $Id$
#
# This file contains a sample ACE_Service_Config configuration
# file specifying the strategy factories utilized by an application
# using TAO.  There are currently only two possible factories:
# Client_Strategy_Factory and Server_Strategy_Factory.  These names
# must be used as the second argument to their corresponding line,
# because that's what the ORB uses to find the desired factory.
#
# Note that there are two unordinary characteristics of the way *this*
# file is set up:
#   - both client and server strategies are specified in the same
#     file, which would only make sense for co-located clients & servers
#   - both of the factories are actually sourced out of libTAO.so
#     (TAO.DLL on Win32), and they would normally be in a separate
#     dll from the TAO ORB Core.
#
# The options which can be passed to the Resource Factory are:
#
#   -ORBresources <which>
#       where <which> can be 'global' to specify globally-held resources,
#       or 'tss' to specify thread-specific resources.
#
# The options which can be passed to the Client are:
#     <none currently>
#
# The options which can be passed to the Server are:
#
#   -ORBconcurrency <which>
#       where <which> can be 'thread-per-connection' to specify
#       use of the ACE_Threaded_Strategy concurrency strategy,
#       or 'reactive' to specify use of the ACE_Reactive_Strategy
#       concurrency strategy.
#
#   -ORBthreadflags  <flags>
#       specifies the default thread flags to use, where <flags> is a
#       logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP,
#       THR_SUSPENDED, or THR_DAEMON.  Note that not every flag may be valid
#       on every platform.
#
#   -ORBdemuxstrategy <which>
#       where <which> can be one of 'dynamic', 'linear', 'active', or 'user',
#       and specifies the type of object lookup strategy used internally.
#   -ORBtablesize <unsigned>
#       specifies the size of the object table
#
dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global"
dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()
dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128"