summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ServantRetentionStrategy.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/ServantRetentionStrategy.h')
-rw-r--r--TAO/tao/PortableServer/ServantRetentionStrategy.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/TAO/tao/PortableServer/ServantRetentionStrategy.h b/TAO/tao/PortableServer/ServantRetentionStrategy.h
index 6873a3b8028..c5882508d99 100644
--- a/TAO/tao/PortableServer/ServantRetentionStrategy.h
+++ b/TAO/tao/PortableServer/ServantRetentionStrategy.h
@@ -12,13 +12,12 @@
#define TAO_SERVANTRETENTIONSTRATEGY_H
#include /**/ "ace/pre.h"
-#include "tao/PortableServer/Policy_Strategy.h"
+#include "tao/PortableServer/Servant_Location.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/PortableServer/Servant_Location.h"
#include "tao/PortableServer/Servant_Upcall.h"
#include "tao/PortableServer/ServantRetentionPolicyC.h"
#include "tao/PortableServer/PortableServer.h"
@@ -34,15 +33,21 @@ namespace TAO
namespace Portable_Server
{
class ServantRetentionStrategy
- : public Policy_Strategy
{
public:
+ ServantRetentionStrategy ();
+ virtual ~ServantRetentionStrategy () = default;
+
+ virtual void strategy_init (TAO_Root_POA *poa) = 0;
+
+ virtual void strategy_cleanup() = 0;
+
virtual CORBA::ULong waiting_servant_deactivation () const = 0;
virtual int is_servant_in_map (PortableServer::Servant servant,
bool &wait_occurred_restart_call) = 0;
- virtual TAO_SERVANT_LOCATION servant_present (
+ virtual TAO_Servant_Location servant_present (
const PortableServer::ObjectId &system_id,
PortableServer::Servant &servant) = 0;