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
00049
00050 void pre_invoke_collocated_request (
00051 TAO_Root_POA &poa,
00052 CORBA::Short servant_priority,
00053 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state);
00054
00055
00056 void post_invoke (
00057 TAO_Root_POA &poa,
00058 TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state);
00059
00060
00061 TAO_Root_POA *create_Root_POA (
00062 const ACE_CString &name,
00063 PortableServer::POAManager_ptr poa_manager,
00064 const TAO_POA_Policy_Set &policies,
00065 ACE_Lock &lock,
00066 TAO_SYNCH_MUTEX &thread_lock,
00067 TAO_ORB_Core &orb_core,
00068 TAO_Object_Adapter *object_adapter);
00069 };
00070
00071 TAO_END_VERSIONED_NAMESPACE_DECL
00072
00073 #include "ace/post.h"
00074 #endif