1 #include "tao/PortableServer/Default_Servant_Dispatcher.h"
2 #include "tao/PortableServer/Root_POA.h"
3 #include "tao/PortableServer/Network_Priority_Hook.h"
4 #include "ace/CORBA_macros.h"
6 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
8 TAO_Default_Servant_Dispatcher::~TAO_Default_Servant_Dispatcher ()
13 TAO_Default_Servant_Dispatcher::create_Root_POA (const ACE_CString
&name
,
14 PortableServer::POAManager_ptr poa_manager
,
15 const TAO_POA_Policy_Set
&policies
,
17 TAO_SYNCH_MUTEX
&thread_lock
,
18 TAO_ORB_Core
&orb_core
,
19 TAO_Object_Adapter
*object_adapter
)
21 TAO_Root_POA
*poa
= 0;
23 ACE_NEW_THROW_EX (poa
,
38 TAO_Default_Servant_Dispatcher::pre_invoke_remote_request (
41 TAO_ServerRequest
&req
,
42 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State
&)
44 poa
.network_priority_hook ()-> set_dscp_codepoint (req
, poa
);
48 TAO_Default_Servant_Dispatcher::pre_invoke_collocated_request (
51 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State
&)
56 TAO_Default_Servant_Dispatcher::post_invoke (
58 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State
&)
62 TAO_END_VERSIONED_NAMESPACE_DECL