RequestProcessingStrategy.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    RequestProcessingStrategy.cpp
00006  *
00007  *  RequestProcessingStrategy.cpp,v 1.5 2006/03/10 07:19:15 jtc Exp
00008  */
00009 //=============================================================================
00010 
00011 #include "tao/PortableServer/RequestProcessingStrategy.h"
00012 
00013 ACE_RCSID (PortableServer,
00014            RequestProcessingStrategy,
00015            "RequestProcessingStrategy.cpp,v 1.5 2006/03/10 07:19:15 jtc Exp")
00016 
00017 
00018 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00019 
00020 namespace TAO
00021 {
00022   namespace Portable_Server
00023   {
00024     RequestProcessingStrategy::RequestProcessingStrategy (void)
00025       : poa_ (0)
00026     {
00027     }
00028 
00029     void
00030     RequestProcessingStrategy::strategy_init(
00031       TAO_Root_POA *poa,
00032       ::PortableServer::ServantRetentionPolicyValue sr_value
00033       ACE_ENV_ARG_DECL_NOT_USED)
00034     {
00035       poa_ = poa;
00036       sr_value_ = sr_value;
00037     }
00038 
00039     void
00040     RequestProcessingStrategy::strategy_init(
00041       TAO_Root_POA *poa
00042       ACE_ENV_ARG_DECL_NOT_USED)
00043     {
00044       poa_ = poa;
00045     }
00046 
00047     void
00048     RequestProcessingStrategy::strategy_cleanup(ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
00049     {
00050       poa_ = 0;
00051     }
00052 
00053     ::PortableServer::ServantRetentionPolicyValue
00054     RequestProcessingStrategy::sr_type() const
00055     {
00056       return sr_value_;
00057     }
00058   }
00059 }
00060 
00061 TAO_END_VERSIONED_NAMESPACE_DECL

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