TAO_PG_Servant_Dispatcher Class Reference

Concrete instantiation of the Servant_Dispatcher strategy. More...

#include <PG_Servant_Dispatcher.h>

Inheritance diagram for TAO_PG_Servant_Dispatcher:

Inheritance graph
[legend]
Collaboration diagram for TAO_PG_Servant_Dispatcher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~TAO_PG_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 35 of file PG_Servant_Dispatcher.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_PG_Servant_Dispatcher::~TAO_PG_Servant_Dispatcher void   )  [virtual]
 

Definition at line 12 of file PG_Servant_Dispatcher.cpp.

00013 {
00014 }


Member Function Documentation

TAO_Root_POA * TAO_PG_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 PG_Servant_Dispatcher.cpp.

References ACE_CHECK_RETURN, ACE_ENV_ARG_PARAMETER, and ACE_NEW_THROW_EX.

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

void TAO_PG_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 64 of file PG_Servant_Dispatcher.cpp.

00067 {
00068 }

void TAO_PG_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 PG_Servant_Dispatcher.cpp.

00060 {
00061 }

void TAO_PG_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 PG_Servant_Dispatcher.cpp.

00051 {
00052 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 14:05:02 2006 for TAO_PortableGroup by doxygen 1.3.6