Public Member Functions

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_Default_Servant_Dispatcher::~TAO_Default_Servant_Dispatcher ( void   )  [virtual]

Definition at line 15 of file Default_Servant_Dispatcher.cpp.

{
}


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.

Reimplemented in TAO_CSD_Default_Servant_Dispatcher.

Definition at line 20 of file Default_Servant_Dispatcher.cpp.

{
  TAO_Root_POA *poa = 0;

  ACE_NEW_THROW_EX (poa,
                    TAO_Root_POA (name,
                                  poa_manager,
                                  policies,
                                  0,
                                  lock,
                                  thread_lock,
                                  orb_core,
                                  object_adapter),
                    CORBA::NO_MEMORY ());

  return poa;
}

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.

{
}

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.

{
}

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.

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines