RequestProcessingStrategyServantManager.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file RequestProcessingStrategyServantManager.h
00006  *
00007  *  $Id: RequestProcessingStrategyServantManager.h 80572 2008-02-05 20:02:46Z johnnyw $
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 (void);
00041 
00042       void set_servant (PortableServer::Servant servant);
00043 
00044       void validate_servant_manager (
00045         PortableServer::ServantManager_ptr servant_manager);
00046 
00047       virtual PortableServer::Servant system_id_to_servant (
00048         const PortableServer::ObjectId &system_id);
00049 
00050       virtual PortableServer::Servant id_to_servant (
00051         const PortableServer::ObjectId &id);
00052 
00053       virtual PortableServer::ObjectId *servant_to_id (
00054         PortableServer::Servant servant);
00055 
00056       virtual ::PortableServer::RequestProcessingPolicyValue type() const;
00057     };
00058   }
00059 }
00060 
00061 TAO_END_VERSIONED_NAMESPACE_DECL
00062 
00063 #endif /* TAO_HAS_MINIMUM_POA == 0 */
00064 
00065 #include /**/ "ace/post.h"
00066 #endif /* TAO_REQUESTPROCESSINGSTRATEGYSERVANTMANAGER_H */

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