00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef TAO_DEFAULT_SERVANT_DISPATCHER_H
00014 #define TAO_DEFAULT_SERVANT_DISPATCHER_H
00015 #include "ace/pre.h"
00016
00017 #include "tao/PortableServer/portableserver_export.h"
00018
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif
00022
00023 #include "tao/PortableServer/Servant_Dispatcher.h"
00024
00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 class TAO_PortableServer_Export TAO_Default_Servant_Dispatcher
00037 : public TAO_Servant_Dispatcher
00038 {
00039 public:
00040 virtual ~TAO_Default_Servant_Dispatcher (void);
00041
00042
00043 void pre_invoke_remote_request (
00044 TAO_Root_POA &poa,
00045 CORBA::Short servant_priority,
00046 TAO_ServerRequest &req,
00047 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state
00048 ACE_ENV_ARG_DECL);
00049
00050
00051 void pre_invoke_collocated_request (
00052 TAO_Root_POA &poa,
00053 CORBA::Short servant_priority,
00054 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state
00055 ACE_ENV_ARG_DECL);
00056
00057
00058 void post_invoke (
00059 TAO_Root_POA &poa,
00060 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state);
00061
00062
00063 TAO_Root_POA *create_Root_POA (
00064 const ACE_CString &name,
00065 PortableServer::POAManager_ptr poa_manager,
00066 const TAO_POA_Policy_Set &policies,
00067 ACE_Lock &lock,
00068 TAO_SYNCH_MUTEX &thread_lock,
00069 TAO_ORB_Core &orb_core,
00070 TAO_Object_Adapter *object_adapter
00071 ACE_ENV_ARG_DECL);
00072 };
00073
00074 TAO_END_VERSIONED_NAMESPACE_DECL
00075
00076 #include "ace/post.h"
00077 #endif