summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorChris Cleeland <chris.cleeland@gmail.com>1997-08-16 08:30:19 +0000
committerChris Cleeland <chris.cleeland@gmail.com>1997-08-16 08:30:19 +0000
commit39fd2edc61730d81fb32824747a210c8af225e5f (patch)
treeab9b9d29d4bd8905b274fcdc318e7b3901e52a79 /TAO
parent8e977d814607f654e4caf77a690e0a49d9e89ce7 (diff)
downloadATCD-39fd2edc61730d81fb32824747a210c8af225e5f.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO')
-rw-r--r--TAO/ChangeLog-98c5
-rw-r--r--TAO/tests/Cubit/TAO/svc.conf39
2 files changed, 44 insertions, 0 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c
index 76aa66c6df9..4f97c604d1c 100644
--- a/TAO/ChangeLog-98c
+++ b/TAO/ChangeLog-98c
@@ -1,5 +1,10 @@
Sat Aug 16 01:11:56 1997 Chris Cleeland <cleeland@cs.wustl.edu>
+ * tests/Cubit/TAO/svc.conf: Added this as an example of an
+ application's service config configuration file. It also serves
+ as the documentation for various strategy factory options at the
+ moment.
+
* tao/orbobj.cpp: Options parsed by the ORB are now
-ORBsvcconf <filename> specifies the service configurator
file to be used
diff --git a/TAO/tests/Cubit/TAO/svc.conf b/TAO/tests/Cubit/TAO/svc.conf
new file mode 100644
index 00000000000..f59ddd6a087
--- /dev/null
+++ b/TAO/tests/Cubit/TAO/svc.conf
@@ -0,0 +1,39 @@
+# $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 Client are:
+# <none currently>
+#
+# The options which can be passed to the Server are:
+# -T
+# specifies use of the ACE_Threaded_Strategy concurrency strategy
+# (mutually exclusive with -R)
+# -t <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.
+# -R
+# specifies use of the ACE_Reactive_Strategy concurrency strategy
+# (mutually exclusive with -T)
+# -L dynamic | linear | active | user
+# specifies the type of object lookup strategy used internally
+# -s <unsigned>
+# specified the size of the object table
+#
+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() "-T -L dynamic -o 128"