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