Default_Servant_Dispatcher.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    Default_Servant_Dispatcher.h
00006  *
00007  *  $Id: Default_Servant_Dispatcher.h 76551 2007-01-24 13:42:44Z johnnyw $
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 
00049   /// Pre_invoke collocated request.
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   /// Post_invoke request.
00056   void post_invoke (
00057         TAO_Root_POA &poa,
00058         TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state);
00059 
00060   /// Factory method for creating new POA's.
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 /* TAO_DEFAULT_SERVANT_DISPATCHER_H */

Generated on Tue Feb 2 17:40:54 2010 for TAO_PortableServer by  doxygen 1.4.7