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 12 of file Default_Servant_Dispatcher.cpp.

00013 {
00014 }


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 17 of file Default_Servant_Dispatcher.cpp.

References ACE_CHECK_RETURN, ACE_ENV_ARG_PARAMETER, ACE_NEW_THROW_EX, and PortableServer::POAManager_ptr.

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

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 54 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 44 of file Default_Servant_Dispatcher.cpp.

00050 {
00051 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:45:25 2006 for TAO_PortableServer by doxygen 1.3.6