summaryrefslogtreecommitdiff
path: root/TAO/tao/Acceptor_Impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Acceptor_Impl.cpp')
-rw-r--r--TAO/tao/Acceptor_Impl.cpp26
1 files changed, 7 insertions, 19 deletions
diff --git a/TAO/tao/Acceptor_Impl.cpp b/TAO/tao/Acceptor_Impl.cpp
index 60de99f4815..3b9c88e9f32 100644
--- a/TAO/tao/Acceptor_Impl.cpp
+++ b/TAO/tao/Acceptor_Impl.cpp
@@ -1,7 +1,5 @@
-// -*- C++ -*-
-//
+// This may look like C, but it's really -*- C++ -*-
// $Id$
-
// ============================================================================
//
// = LIBRARY
@@ -30,7 +28,6 @@
#include "ORB_Core.h"
#include "Transport_Cache_Manager.h"
#include "Thread_Lane_Resources.h"
-#include "Transport.h"
#include "debug.h"
#if !defined(__ACE_INLINE__)
@@ -41,13 +38,12 @@ ACE_RCSID (tao,
Acceptor_Impl,
"$Id$")
-//////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////////
template <class SVC_HANDLER>
-TAO_Creation_Strategy<SVC_HANDLER>::TAO_Creation_Strategy (
- TAO_ORB_Core *orb_core,
- void *arg,
- CORBA::Boolean flag)
+TAO_Creation_Strategy<SVC_HANDLER>::TAO_Creation_Strategy (TAO_ORB_Core *orb_core,
+ void *arg,
+ CORBA::Boolean flag)
: ACE_Creation_Strategy<SVC_HANDLER> (0, orb_core->reactor()),
orb_core_ (orb_core),
arg_ (arg),
@@ -73,7 +69,7 @@ TAO_Creation_Strategy<SVC_HANDLER>::make_svc_handler (SVC_HANDLER *&sh)
return 0;
}
-//////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////////
template <class SVC_HANDLER>
TAO_Concurrency_Strategy<SVC_HANDLER>::TAO_Concurrency_Strategy (TAO_ORB_Core *orb_core)
@@ -85,14 +81,6 @@ template <class SVC_HANDLER> int
TAO_Concurrency_Strategy<SVC_HANDLER>::activate_svc_handler (SVC_HANDLER *sh,
void *arg)
{
- sh->transport ()->opened_as (TAO::TAO_SERVER_ROLE);
-
- // Indicate that this transport was opened in the server role
- if (TAO_debug_level > 6)
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) - TAO_Concurrency_Strategy::activate_svc_handler "
- "opened as TAO_SERVER_ROLE\n"));
-
// Here the service handler has been created and the new connection
// has been accepted. #REFCOUNT# is one at this point.
@@ -194,7 +182,7 @@ TAO_Concurrency_Strategy<SVC_HANDLER>::activate_svc_handler (SVC_HANDLER *sh,
return result;
}
-//////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////////
template <class SVC_HANDLER, ACE_PEER_ACCEPTOR_1>
TAO_Accept_Strategy<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::TAO_Accept_Strategy (TAO_ORB_Core *orb_core)