summaryrefslogtreecommitdiff
path: root/TAO/tao/orbconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/orbconf.h')
-rw-r--r--TAO/tao/orbconf.h25
1 files changed, 9 insertions, 16 deletions
diff --git a/TAO/tao/orbconf.h b/TAO/tao/orbconf.h
index 74bd38dd287..ca844ef5e00 100644
--- a/TAO/tao/orbconf.h
+++ b/TAO/tao/orbconf.h
@@ -37,22 +37,6 @@
#define TAO_NULL_LOCK_REACTOR ACE_Select_Reactor_T< ACE_Select_Reactor_Token_T<ACE_Noop_Token> >
#endif /* TAO_NULL_LOCK_REACTOR */
-// Users should override this stuff if they don't want to use the
-// default ACE Socket wrappers. This makes it possible to change
-// TAO's transport mechanism wholesale by making a few minor changes
-// to the ACE config.h file.
-#if !defined (TAO_SOCK_STREAM)
-#define TAO_SOCK_STREAM ACE_SOCK_STREAM
-#define TAO_SOCK_Stream ACE_SOCK_Stream
-#endif /* TAO_SOCK_STREAM */
-
-#if !defined (TAO_SOCK_ACCEPTOR)
-#define TAO_SOCK_ACCEPTOR ACE_SOCK_ACCEPTOR
-#endif /* TAO_SOCK_ACCEPTOR */
-
-#if !defined (TAO_SOCK_CONNECTOR)
-#define TAO_SOCK_CONNECTOR ACE_SOCK_CONNECTOR
-#endif /* TAO_SOCK_CONNECTOR */
//#define POA_NO_TIMESTAMP
//
@@ -165,6 +149,15 @@
# define TAO_MAXIMUM_NATIVE_TYPE_SIZE 128
#endif /* TAO_MAXIMUM_NATIVE_TYPE_SIZE */
+// This deals with the startegies for connection caching. By default
+// itis the Least Recently Used with the default purging percentage of 20%.
+#if !defined (TAO_CONNECTION_CACHING_STRATEGY)
+# define TAO_CONNECTION_CACHING_STRATEGY 0 //LRU
+#endif /* TAO_CONNECTION_CACHING_STRATEGY */
+#if !defined (TAO_PURGE_PERCENT)
+# define TAO_PURGE_PERCENT 20
+#endif /* TAO_PURGE_PERCENT */
+
// This deals with platforms that support namespaces vs platforms that
// don't. @@ MSVC's namespace implementation is somehow broken.
// The following macros are required to deal with the most bizarre and insane