3 //=============================================================================
5 * @file Default_Servant_Dispatcher.h
7 * @author Frank Hunleth (fhunleth@cs.wustl.edu)
9 //=============================================================================
11 #ifndef TAO_DEFAULT_SERVANT_DISPATCHER_H
12 #define TAO_DEFAULT_SERVANT_DISPATCHER_H
13 #include /**/ "ace/pre.h"
15 #include "tao/PortableServer/portableserver_export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/PortableServer/Servant_Dispatcher.h"
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 * @class TAO_Default_Servant_Dispatcher
28 * @brief Concrete instantiation of the Servant_Dispatcher strategy.
30 * This class just calls _dispatch on the servant_upcall. No extra
31 * processing is done or needed.
33 class TAO_PortableServer_Export TAO_Default_Servant_Dispatcher
34 : public TAO_Servant_Dispatcher
37 virtual ~TAO_Default_Servant_Dispatcher ();
39 /// Pre_invoke remote request.
40 void pre_invoke_remote_request (
42 CORBA::Short servant_priority
,
43 TAO_ServerRequest
&req
,
44 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State
&pre_invoke_state
);
46 /// Pre_invoke collocated request.
47 void pre_invoke_collocated_request (
49 CORBA::Short servant_priority
,
50 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State
&pre_invoke_state
);
52 /// Post_invoke request.
55 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State
&pre_invoke_state
);
57 /// Factory method for creating new POA's.
58 TAO_Root_POA
*create_Root_POA (
59 const ACE_CString
&name
,
60 PortableServer::POAManager_ptr poa_manager
,
61 const TAO_POA_Policy_Set
&policies
,
63 TAO_SYNCH_MUTEX
&thread_lock
,
64 TAO_ORB_Core
&orb_core
,
65 TAO_Object_Adapter
*object_adapter
);
68 TAO_END_VERSIONED_NAMESPACE_DECL
70 #include /**/ "ace/post.h"
71 #endif /* TAO_DEFAULT_SERVANT_DISPATCHER_H */