From 3b5bbfa354a3f8ce58faf4d4fed2a6f92a38477f Mon Sep 17 00:00:00 2001 From: irfan Date: Tue, 28 Oct 1997 07:15:10 +0000 Subject: *** empty log message *** --- tests/Conn_Test.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'tests/Conn_Test.cpp') diff --git a/tests/Conn_Test.cpp b/tests/Conn_Test.cpp index 7d30e37cdae..f5b39f374ba 100644 --- a/tests/Conn_Test.cpp +++ b/tests/Conn_Test.cpp @@ -69,6 +69,14 @@ Svc_Handler::open (void *) return 0; } +int +Svc_Handler::recycle (void *) +{ + ACE_DEBUG ((LM_DEBUG, "(%P|%t) recycling Svc_Handler %d with handle %d\n", + this, this->peer ().get_handle ())); + return 0; +} + void Svc_Handler::send_data (void) { @@ -167,6 +175,7 @@ typedef ACE_Oneshot_Acceptor ACCEPTOR; typedef ACE_Connector CONNECTOR; typedef ACE_Strategy_Connector STRAT_CONNECTOR; typedef ACE_NOOP_Creation_Strategy NULL_CREATION_STRATEGY; +typedef ACE_NOOP_Concurrency_Strategy NULL_ACTIVATION_STRATEGY; typedef ACE_Cached_Connect_Strategy CACHED_CONNECT_STRATEGY; // **************************************** @@ -316,13 +325,15 @@ client (void *arg) CONNECTOR connector; NULL_CREATION_STRATEGY creation_strategy; + NULL_ACTIVATION_STRATEGY activation_strategy; // Configure the Strategy Connector with a strategy that caches // connection. CACHED_CONNECT_STRATEGY caching_connect_strategy; STRAT_CONNECTOR strat_connector (0, &creation_strategy, - &caching_connect_strategy); + &caching_connect_strategy, + &activation_strategy); Client_Info info; info.server_addr_ = &server_addr; info.connector_ = &connector; -- cgit v1.2.1