RequestProcessingStrategyAOMOnly.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file RequestProcessingStrategyAOMOnly.h
00006  *
00007  *  $Id: RequestProcessingStrategyAOMOnly.h 80572 2008-02-05 20:02:46Z johnnyw $
00008  *
00009  *  @author  Johnny Willemsen  <jwillemsen@remedy.nl>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_REQUESTPROCESSINGSTRATEGYAOMONLY_H
00014 #define TAO_REQUESTPROCESSINGSTRATEGYAOMONLY_H
00015 #include /**/ "ace/pre.h"
00016 
00017 #include "tao/PortableServer/RequestProcessingStrategy.h"
00018 
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif /* ACE_LACKS_PRAGMA_ONCE */
00022 
00023 #include "tao/PortableServer/Servant_Location.h"
00024 #include "tao/PortableServer/PortableServer.h"
00025 
00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00027 
00028 namespace TAO
00029 {
00030   namespace Portable_Server
00031   {
00032     /**
00033      * @class RequestProcessingStrategyAOMOnly
00034      *
00035      * Request Processing Strategy which only uses the Active Object Map (AOM)
00036      */
00037     class RequestProcessingStrategyAOMOnly
00038       : public RequestProcessingStrategy
00039     {
00040     public:
00041       RequestProcessingStrategyAOMOnly (void);
00042 
00043 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
00044 
00045       PortableServer::ServantManager_ptr
00046       get_servant_manager (void);
00047 
00048       void set_servant_manager (PortableServer::ServantManager_ptr imgr);
00049 
00050       void set_servant (PortableServer::Servant servant);
00051 
00052       PortableServer::Servant get_servant (void);
00053 
00054 #endif /* TAO_HAS_MINIMUM_POA == 0 !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) */
00055 
00056       virtual
00057       TAO_SERVANT_LOCATION
00058       locate_servant (const PortableServer::ObjectId &system_id,
00059                       PortableServer::Servant &servant);
00060 
00061       virtual
00062       PortableServer::Servant
00063       locate_servant (const char *operation,
00064                       const PortableServer::ObjectId &system_id,
00065                       TAO::Portable_Server::Servant_Upcall &servant_upcall,
00066                       TAO::Portable_Server::POA_Current_Impl &poa_current_impl,
00067                       bool &wait_occurred_restart_call);
00068 
00069       virtual PortableServer::Servant system_id_to_servant (
00070         const PortableServer::ObjectId &system_id);
00071 
00072       virtual PortableServer::Servant id_to_servant (
00073         const PortableServer::ObjectId &id);
00074 
00075       virtual void cleanup_servant (
00076         PortableServer::Servant servant,
00077         const PortableServer::ObjectId &user_id);
00078 
00079       virtual void etherealize_objects (CORBA::Boolean etherealize_objects);
00080 
00081       virtual PortableServer::ObjectId *servant_to_id (
00082         PortableServer::Servant servant);
00083 
00084       virtual void post_invoke_servant_cleanup(
00085         const PortableServer::ObjectId &system_id,
00086         const TAO::Portable_Server::Servant_Upcall &servant_upcall);
00087 
00088       virtual ::PortableServer::RequestProcessingPolicyValue type() const;
00089     };
00090   }
00091 }
00092 
00093 TAO_END_VERSIONED_NAMESPACE_DECL
00094 
00095 #include /**/ "ace/post.h"
00096 #endif /* TAO_REQUESTPROCESSINGSTRATEGYAOMONLY_H */

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