diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-10-12 23:25:37 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-10-12 23:25:37 +0000 |
commit | 426ea2a1ead4c16dc84bf111d2af9515eaf99f7e (patch) | |
tree | 985d7bc1b254128ca00f2e26a731c0efdce454bf /TAO/tao/default_client.cpp | |
parent | 8dfd548e12ed1ea5f96df4450a3c9ab5b091e23c (diff) | |
download | ATCD-426ea2a1ead4c16dc84bf111d2af9515eaf99f7e.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/default_client.cpp')
-rw-r--r-- | TAO/tao/default_client.cpp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/TAO/tao/default_client.cpp b/TAO/tao/default_client.cpp index 5affd8ab1ca..da548156cbc 100644 --- a/TAO/tao/default_client.cpp +++ b/TAO/tao/default_client.cpp @@ -18,25 +18,6 @@ TAO_Default_Client_Strategy_Factory::TAO_Default_Client_Strategy_Factory (void) { - // When should I do this open ()? It seems like this is way too - // early, but doing it in the accessor for connector () seems like - // it would be too late as well. - // @@ Chris, a couple of thoughts: - // 1. What is wrong with doing it here, in general? - // 2. We should make sure not to use ACE_Reactor::instance() since - // it makes our ORB too tightly coupled to having just 1 reactor! - // I think it's clear now that we'll have one Reactor "per-ORB" - // and we may have multiple ORBs per process (e.g., consider the - // "real-time rate-based ORB" we discussed the other day). - connector_.open (TAO_ORB_Core_instance ()->reactor (), - &null_creation_strategy_, - &caching_connect_strategy_, -#if defined (TAO_HAS_CLIENT_CONCURRENCY) - concurrency_strategy_ () -#else - 0 -#endif /* TAO_HAS_CLIENT_CONCURRENCY */ - ); } TAO_Default_Client_Strategy_Factory::~TAO_Default_Client_Strategy_Factory (void) @@ -48,12 +29,6 @@ TAO_Default_Client_Strategy_Factory::init (int argc, char *argv[]) return this->parse_args (argc, argv); } -TAO_CONNECTOR * -TAO_Default_Client_Strategy_Factory::connector (void) -{ - return &this->connector_; -} - int TAO_Default_Client_Strategy_Factory::parse_args (int /* argc */, char ** /* argv */) { @@ -61,21 +36,4 @@ TAO_Default_Client_Strategy_Factory::parse_args (int /* argc */, char ** /* argv return 0; } -#define TAO_HASH_ADDR ACE_Hash_Addr<ACE_INET_Addr, TAO_Client_Connection_Handler> -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Cached_Connect_Strategy<TAO_Client_Connection_Handler, ACE_SOCK_CONNECTOR, ACE_SYNCH_RW_MUTEX>; -template class ACE_Creation_Strategy<TAO_Client_Connection_Handler>; -template class ACE_Connect_Strategy<TAO_Client_Connection_Handler, ACE_SOCK_CONNECTOR>; -//template class TAO_HASH_ADDR; -template class ACE_Hash_Map_Entry<TAO_HASH_ADDR, TAO_Client_Connection_Handler *>; -template class ACE_Hash_Map_Manager<TAO_HASH_ADDR, TAO_Client_Connection_Handler *, ACE_SYNCH_RW_MUTEX>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Cached_Connect_Strategy<TAO_Client_Connection_Handler, ACE_SOCK_CONNECTOR, ACE_SYNCH_RW_MUTEX> -#pragma instantiate ACE_Creation_Strategy<TAO_Client_Connection_Handler> -#pragma instantiate ACE_Connect_Strategy<TAO_Client_Connection_Handler, ACE_SOCK_CONNECTOR> -//#pragma instantiate TAO_HASH_ADDR -#pragma instantiate ACE_Hash_Map_Entry<TAO_HASH_ADDR, TAO_Client_Connection_Handler *> -#pragma instantiate ACE_Hash_Map_Manager<TAO_HASH_ADDR, TAO_Client_Connection_Handler *, ACE_SYNCH_RW_MUTEX> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - ACE_SVC_FACTORY_DEFINE (TAO_Default_Client_Strategy_Factory) |