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/RequestProcessingStrategyFactory.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/RequestProcessingStrategyFactory.h')
-rw-r--r-- | TAO/tao/PortableServer/RequestProcessingStrategyFactory.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/TAO/tao/PortableServer/RequestProcessingStrategyFactory.h b/TAO/tao/PortableServer/RequestProcessingStrategyFactory.h new file mode 100644 index 00000000000..bd082ec8bf2 --- /dev/null +++ b/TAO/tao/PortableServer/RequestProcessingStrategyFactory.h @@ -0,0 +1,50 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file RequestProcessingStrategyFactory.h + * + * $Id$ + * + * @author Johnny Willemsen <jwillemsen@remedy.nl> + */ +//============================================================================= + +#ifndef TAO_PORTABLESERVER_REQUESTPROCESSINGSTRATEGYFACTORY_H +#define TAO_PORTABLESERVER_REQUESTPROCESSINGSTRATEGYFACTORY_H +#include /**/ "ace/pre.h" + +#include "portableserver_export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/PortableServer/StrategyFactory.h" +#include "tao/PortableServer/RequestProcessingPolicyC.h" +#include "tao/PortableServer/ServantRetentionPolicyC.h" + +namespace TAO +{ + namespace Portable_Server + { + class RequestProcessingStrategy; + + class TAO_PortableServer_Export RequestProcessingStrategyFactory + : public virtual StrategyFactory + { + public: + /// Create a new servant retention strategy + virtual RequestProcessingStrategy* create ( + ::PortableServer::RequestProcessingPolicyValue value, + ::PortableServer::ServantRetentionPolicyValue srvalue) = 0; + + virtual void destroy ( + RequestProcessingStrategy *strategy + ACE_ENV_ARG_DECL) = 0; + }; + } +} + +#include /**/ "ace/post.h" +#endif /* TAO_PORTABLESERVER_REQUESTPROCESSINGSTRATEGYFACTORY_H */ |