TAO_Default_Servant_Dispatcher Class Reference

Concrete instantiation of the Servant_Dispatcher strategy. More...

#include <Default_Servant_Dispatcher.h>

Inheritance diagram for TAO_Default_Servant_Dispatcher:

Inheritance graph
[legend]
Collaboration diagram for TAO_Default_Servant_Dispatcher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~TAO_Default_Servant_Dispatcher (void)
void pre_invoke_remote_request (TAO_Root_POA &poa, CORBA::Short servant_priority, TAO_ServerRequest &req, TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state)
 Pre_invoke remote request.
void pre_invoke_collocated_request (TAO_Root_POA &poa, CORBA::Short servant_priority, TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state)
 Pre_invoke collocated request.
void post_invoke (TAO_Root_POA &poa, TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state)
 Post_invoke request.
TAO_Root_POAcreate_Root_POA (const ACE_CString &name, PortableServer::POAManager_ptr poa_manager, const TAO_POA_Policy_Set &policies, ACE_Lock &lock, TAO_SYNCH_MUTEX &thread_lock, TAO_ORB_Core &orb_core, TAO_Object_Adapter *object_adapter)
 Factory method for creating new POA's.

Detailed Description

Concrete instantiation of the Servant_Dispatcher strategy.

This class just calls _dispatch on the servant_upcall. No extra processing is done or needed.

Definition at line 36 of file Default_Servant_Dispatcher.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Default_Servant_Dispatcher::~TAO_Default_Servant_Dispatcher ( void   )  [virtual]

Definition at line 15 of file Default_Servant_Dispatcher.cpp.

00016 {
00017 }


Member Function Documentation

TAO_Root_POA * TAO_Default_Servant_Dispatcher::create_Root_POA ( const ACE_CString name,
PortableServer::POAManager_ptr  poa_manager,
const TAO_POA_Policy_Set policies,
ACE_Lock lock,
TAO_SYNCH_MUTEX thread_lock,
TAO_ORB_Core orb_core,
TAO_Object_Adapter object_adapter 
) [virtual]

Factory method for creating new POA's.

Implements TAO_Servant_Dispatcher.

Definition at line 20 of file Default_Servant_Dispatcher.cpp.

References ACE_NEW_THROW_EX.

00027 {
00028   TAO_Root_POA *poa = 0;
00029 
00030   ACE_NEW_THROW_EX (poa,
00031                     TAO_Root_POA (name,
00032                                   poa_manager,
00033                                   policies,
00034                                   0,
00035                                   lock,
00036                                   thread_lock,
00037                                   orb_core,
00038                                   object_adapter),
00039                     CORBA::NO_MEMORY ());
00040 
00041   return poa;
00042 }

void TAO_Default_Servant_Dispatcher::post_invoke ( TAO_Root_POA poa,
TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State pre_invoke_state 
) [virtual]

Post_invoke request.

Implements TAO_Servant_Dispatcher.

Definition at line 63 of file Default_Servant_Dispatcher.cpp.

00066 {
00067 }

void TAO_Default_Servant_Dispatcher::pre_invoke_collocated_request ( TAO_Root_POA poa,
CORBA::Short  servant_priority,
TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State pre_invoke_state 
) [virtual]

Pre_invoke collocated request.

Implements TAO_Servant_Dispatcher.

Definition at line 55 of file Default_Servant_Dispatcher.cpp.

00059 {
00060 }

void TAO_Default_Servant_Dispatcher::pre_invoke_remote_request ( TAO_Root_POA poa,
CORBA::Short  servant_priority,
TAO_ServerRequest req,
TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State pre_invoke_state 
) [virtual]

Pre_invoke remote request.

Implements TAO_Servant_Dispatcher.

Definition at line 45 of file Default_Servant_Dispatcher.cpp.

References TAO_Root_POA::network_priority_hook().

00050 {
00051   poa.network_priority_hook ()-> set_dscp_codepoint (req, poa);
00052 }


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:41:29 2010 for TAO_PortableServer by  doxygen 1.4.7