Updated logging to include the class/method so that it is more obvious where these...
[ACE_TAO.git] / TAO / tao / PortableServer / Default_Servant_Dispatcher.h
bloba77043c28d2eeb372bbe9fd9a8969637a239c962
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Default_Servant_Dispatcher.h
7 * @author Frank Hunleth (fhunleth@cs.wustl.edu)
8 */
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)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/PortableServer/Servant_Dispatcher.h"
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
25 /**
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
36 public:
37 virtual ~TAO_Default_Servant_Dispatcher ();
39 /// Pre_invoke remote request.
40 void pre_invoke_remote_request (
41 TAO_Root_POA &poa,
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 (
48 TAO_Root_POA &poa,
49 CORBA::Short servant_priority,
50 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state);
52 /// Post_invoke request.
53 void post_invoke (
54 TAO_Root_POA &poa,
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,
62 ACE_Lock &lock,
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 */