RequestProcessingStrategyServantManager.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file RequestProcessingStrategyServantManager.h
00006  *
00007  *  RequestProcessingStrategyServantManager.h,v 1.7 2006/06/20 07:15:16 jwillemsen Exp
00008  *
00009  *  @author  Johnny Willemsen  <jwillemsen@remedy.nl>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_REQUESTPROCESSINGSTRATEGYSERVANTMANAGER_H
00014 #define TAO_REQUESTPROCESSINGSTRATEGYSERVANTMANAGER_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 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
00027 
00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00029 
00030 namespace TAO
00031 {
00032   namespace Portable_Server
00033   {
00034     class RequestProcessingStrategyServantManager
00035       : public RequestProcessingStrategy
00036     {
00037     public:
00038       RequestProcessingStrategyServantManager (void);
00039 
00040       PortableServer::Servant get_servant (ACE_ENV_SINGLE_ARG_DECL)
00041         ACE_THROW_SPEC ((CORBA::SystemException,
00042                          PortableServer::POA::WrongPolicy));
00043 
00044       void set_servant (PortableServer::Servant servant ACE_ENV_ARG_DECL)
00045         ACE_THROW_SPEC ((CORBA::SystemException,
00046                          PortableServer::POA::WrongPolicy));
00047 
00048       void validate_servant_manager (
00049         PortableServer::ServantManager_ptr servant_manager
00050         ACE_ENV_ARG_DECL);
00051 
00052       virtual PortableServer::Servant system_id_to_servant (
00053         const PortableServer::ObjectId &system_id
00054         ACE_ENV_ARG_DECL);
00055 
00056       virtual PortableServer::Servant id_to_servant (
00057         const PortableServer::ObjectId &id
00058         ACE_ENV_ARG_DECL)
00059           ACE_THROW_SPEC ((CORBA::SystemException,
00060                            PortableServer::POA::ObjectNotActive,
00061                            PortableServer::POA::WrongPolicy));
00062 
00063       virtual PortableServer::ObjectId *servant_to_id (
00064         PortableServer::Servant servant
00065         ACE_ENV_ARG_DECL)
00066           ACE_THROW_SPEC ((CORBA::SystemException,
00067                            PortableServer::POA::ServantNotActive,
00068                            PortableServer::POA::WrongPolicy));
00069 
00070       virtual ::PortableServer::RequestProcessingPolicyValue type() const;
00071     };
00072   }
00073 }
00074 
00075 TAO_END_VERSIONED_NAMESPACE_DECL
00076 
00077 #endif /* TAO_HAS_MINIMUM_POA == 0 */
00078 
00079 #include /**/ "ace/post.h"
00080 #endif /* TAO_REQUESTPROCESSINGSTRATEGYSERVANTMANAGER_H */

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