summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/RequestProcessingStrategy.h
diff options
context:
space:
mode:
authorErik Sohns <esohns@users.noreply.github.com>2023-04-06 11:09:11 +0200
committerGitHub <noreply@github.com>2023-04-06 11:09:11 +0200
commita3a7c2a50383ebf00534c28014704ce57e092821 (patch)
tree0de4a576c9929ac6d821462e1693882654f2a456 /TAO/tao/PortableServer/RequestProcessingStrategy.h
parent5625244fd7bb77bafabce28fdec790f51ef50080 (diff)
parentb50aba0fdce1069b9aa9b1baac9adee396663779 (diff)
downloadATCD-a3a7c2a50383ebf00534c28014704ce57e092821.tar.gz
Merge branch 'master' into message_queue_ex_get_queue
Diffstat (limited to 'TAO/tao/PortableServer/RequestProcessingStrategy.h')
-rw-r--r--TAO/tao/PortableServer/RequestProcessingStrategy.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/TAO/tao/PortableServer/RequestProcessingStrategy.h b/TAO/tao/PortableServer/RequestProcessingStrategy.h
index 5378d1739a4..3a25f9182be 100644
--- a/TAO/tao/PortableServer/RequestProcessingStrategy.h
+++ b/TAO/tao/PortableServer/RequestProcessingStrategy.h
@@ -12,13 +12,12 @@
#define TAO_REQUEST_PROCESSING_STRATEGY_H
#include /**/ "ace/pre.h"
-#include "tao/PortableServer/Policy_Strategy.h"
+#include "tao/PortableServer/PortableServer.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/PortableServer/PortableServer.h"
#include "tao/PortableServer/Servant_Location.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
@@ -45,21 +44,16 @@ namespace TAO
namespace Portable_Server
{
class RequestProcessingStrategy
- : public Policy_Strategy
{
public:
- RequestProcessingStrategy ();
+ RequestProcessingStrategy () = default;
+ virtual ~RequestProcessingStrategy () = default;
virtual void strategy_init(TAO_Root_POA *poa);
- virtual void strategy_init(
- TAO_Root_POA *poa,
- ::PortableServer::ServantRetentionPolicyValue);
-
virtual void strategy_cleanup();
#if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
-
virtual PortableServer::ServantManager_ptr get_servant_manager () = 0;
virtual void set_servant_manager (
@@ -68,10 +62,9 @@ namespace TAO
virtual void set_servant (PortableServer::Servant servant) = 0;
virtual PortableServer::Servant get_servant () = 0;
-
#endif /* TAO_HAS_MINIMUM_POA == 0 !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) */
- virtual TAO_SERVANT_LOCATION locate_servant (
+ virtual TAO_Servant_Location locate_servant (
const PortableServer::ObjectId &system_id,
PortableServer::Servant &servant) = 0;
@@ -101,13 +94,8 @@ namespace TAO
const PortableServer::ObjectId &system_id,
const TAO::Portable_Server::Servant_Upcall &servant_upcall) = 0;
- virtual ::PortableServer::RequestProcessingPolicyValue type() const = 0;
-
- virtual ::PortableServer::ServantRetentionPolicyValue sr_type() const;
-
protected:
- TAO_Root_POA* poa_;
- ::PortableServer::ServantRetentionPolicyValue sr_value_;
+ TAO_Root_POA* poa_ {};
};
}
}