diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-02-18 09:07:14 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-02-18 09:07:14 +0000 |
commit | 6505e0e66092f5c22ab656946a800138897ddf4c (patch) | |
tree | 91ba7fc4584511f31379702bdcf543da966f7f78 /TAO/tao/PortableServer/RequestProcessingStrategyAOMOnlyFactoryImpl.h | |
parent | 088f6e83bd2ffc10f050df15282f9795ddbb02f6 (diff) | |
download | ATCD-6505e0e66092f5c22ab656946a800138897ddf4c.tar.gz |
ChangeLogTag: Fri Feb 18 17:04:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/PortableServer/RequestProcessingStrategyAOMOnlyFactoryImpl.h')
-rw-r--r-- | TAO/tao/PortableServer/RequestProcessingStrategyAOMOnlyFactoryImpl.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/TAO/tao/PortableServer/RequestProcessingStrategyAOMOnlyFactoryImpl.h b/TAO/tao/PortableServer/RequestProcessingStrategyAOMOnlyFactoryImpl.h new file mode 100644 index 00000000000..d4767c44272 --- /dev/null +++ b/TAO/tao/PortableServer/RequestProcessingStrategyAOMOnlyFactoryImpl.h @@ -0,0 +1,52 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file RequestProcessingStrategyAOMOnlyFactoryImpl.h + * + * $Id$ + * + * @author Johnny Willemsen <jwillemsen@remedy.nl> + */ +//============================================================================= + +#ifndef TAO_PORTABLESERVER_REQUESTPROCESSINGSTRATEGYAOMONLYFACTORYIMPL_H +#define TAO_PORTABLESERVER_REQUESTPROCESSINGSTRATEGYAOMONLYFACTORYIMPL_H +#include /**/ "ace/pre.h" + +#include "portableserver_export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ace/Service_Config.h" +#include "tao/PortableServer/RequestProcessingStrategyFactory.h" + +namespace TAO +{ + namespace Portable_Server + { + class TAO_PortableServer_Export RequestProcessingStrategyAOMOnlyFactoryImpl + : public virtual RequestProcessingStrategyFactory + { + public: + virtual ~RequestProcessingStrategyAOMOnlyFactoryImpl (void); + + /// Create a new servant retention strategy + virtual RequestProcessingStrategy* create ( + ::PortableServer::RequestProcessingPolicyValue value, + ::PortableServer::ServantRetentionPolicyValue srvalue); + + virtual void destroy ( + RequestProcessingStrategy *strategy + ACE_ENV_ARG_DECL); + }; + + ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PortableServer, RequestProcessingStrategyAOMOnlyFactoryImpl) + ACE_FACTORY_DECLARE (TAO_PortableServer, RequestProcessingStrategyAOMOnlyFactoryImpl) + } +} + +#include /**/ "ace/post.h" +#endif /* TAO_PORTABLESERVER_REQUESTPROCESSINGSTRATEGYAOMONLYFACTORYIMPL_H*/ |