Default_Servant_Dispatcher.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    Default_Servant_Dispatcher.h
00006  *
00007  *  Default_Servant_Dispatcher.h,v 1.14 2006/04/26 13:22:58 mesnier_p Exp
00008  *
00009  *  @author Frank Hunleth (fhunleth@cs.wustl.edu)
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 /* ACE_LACKS_PRAGMA_ONCE */
00022 
00023 #include "tao/PortableServer/Servant_Dispatcher.h"
00024 
00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00026 
00027 /**
00028  * @class TAO_Default_Servant_Dispatcher
00029  *
00030  * @brief Concrete instantiation of the Servant_Dispatcher strategy.
00031  *
00032  * This class just calls _dispatch on the servant_upcall.  No extra
00033  * processing is done or needed.
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   /// Pre_invoke remote request.
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   /// Pre_invoke collocated request.
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   /// Post_invoke request.
00058   void post_invoke (
00059         TAO_Root_POA &poa,
00060         TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state);
00061 
00062   /// Factory method for creating new POA's.
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 /* TAO_DEFAULT_SERVANT_DISPATCHER_H */

Generated on Thu Nov 9 12:40:38 2006 for TAO_PortableServer by doxygen 1.3.6