PG_Servant_Dispatcher.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    PG_Servant_Dispatcher.h
00006  *
00007  *  $Id: PG_Servant_Dispatcher.h 76589 2007-01-25 18:04:11Z elliott_c $
00008  *
00009  *  @author Johnny Willemsen  <jwillemsen@remedy.nl>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_PG_SERVANT_DISPATCHER_H
00014 #define TAO_PG_SERVANT_DISPATCHER_H
00015 #include /**/ "ace/pre.h"
00016 
00017 #include "orbsvcs/PortableGroup/portablegroup_export.h"
00018 #include "tao/PortableServer/Servant_Dispatcher.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00025 
00026 /**
00027  * @class TAO_PG_Servant_Dispatcher
00028  *
00029  * @brief Concrete instantiation of the Servant_Dispatcher strategy.
00030  *
00031  * This class just calls _dispatch on the servant_upcall.  No extra
00032  * processing is done or needed.
00033  *
00034  */
00035 class TAO_PortableGroup_Export TAO_PG_Servant_Dispatcher
00036   : public TAO_Servant_Dispatcher
00037 {
00038 public:
00039   virtual ~TAO_PG_Servant_Dispatcher (void);
00040 
00041   /// Pre_invoke remote request.
00042   void pre_invoke_remote_request (TAO_Root_POA &poa,
00043                                   CORBA::Short servant_priority,
00044                                   TAO_ServerRequest &req,
00045                                   TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state);
00046 
00047   /// Pre_invoke collocated request.
00048   void pre_invoke_collocated_request (TAO_Root_POA &poa,
00049                                       CORBA::Short servant_priority,
00050                                       TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state);
00051 
00052   /// Post_invoke request.
00053   void post_invoke (TAO_Root_POA &poa,
00054                     TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state);
00055 
00056   /// Factory method for creating new POA's.
00057   TAO_Root_POA *create_Root_POA (const ACE_CString &name,
00058                                  PortableServer::POAManager_ptr poa_manager,
00059                                  const TAO_POA_Policy_Set &policies,
00060                                  ACE_Lock &lock,
00061                                  TAO_SYNCH_MUTEX &thread_lock,
00062                                  TAO_ORB_Core &orb_core,
00063                                  TAO_Object_Adapter *object_adapter);
00064 };
00065 
00066 TAO_END_VERSIONED_NAMESPACE_DECL
00067 
00068 #include /**/ "ace/post.h"
00069 #endif /* TAO_PG_SERVANT_DISPATCHER_H */

Generated on Sun Jan 27 16:22:31 2008 for TAO_PortableGroup by doxygen 1.3.6