summaryrefslogtreecommitdiff
path: root/TAO/tao/default_client.cpp
diff options
context:
space:
mode:
authorChris Cleeland <chris.cleeland@gmail.com>1997-08-13 02:33:18 +0000
committerChris Cleeland <chris.cleeland@gmail.com>1997-08-13 02:33:18 +0000
commiteacebd71b62e764c03083f7ef4bfc4793f120549 (patch)
tree0cf2dfa1d7c9fcc361527db7558561a5601fd2b1 /TAO/tao/default_client.cpp
parentd32aa2b45a6c1589792f75dae17fa44d3f58129e (diff)
downloadATCD-eacebd71b62e764c03083f7ef4bfc4793f120549.tar.gz
TAO now compiles again on Linux/g++ after Andy's CORBA:: changes and
my service config work.
Diffstat (limited to 'TAO/tao/default_client.cpp')
-rw-r--r--TAO/tao/default_client.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/TAO/tao/default_client.cpp b/TAO/tao/default_client.cpp
index f2330d7fee3..2c00846508b 100644
--- a/TAO/tao/default_client.cpp
+++ b/TAO/tao/default_client.cpp
@@ -59,16 +59,27 @@ TAO_Default_Client_Strategy_Factory::connector (void)
}
int
-TAO_Default_Client_Strategy_Factory::parse_args (int argc, char *argv[])
+TAO_Default_Client_Strategy_Factory::parse_args (int /* argc */, char **/*argv*/)
{
// no args to parse at this time
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 *, ACE_SYNCH_RW_MUTEX>
+#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)