summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerAdapterI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ServerAdapterI.h')
-rw-r--r--cpp/src/IceGrid/ServerAdapterI.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ServerAdapterI.h b/cpp/src/IceGrid/ServerAdapterI.h
index 12ba4e0e45a..ad9762d96e3 100644
--- a/cpp/src/IceGrid/ServerAdapterI.h
+++ b/cpp/src/IceGrid/ServerAdapterI.h
@@ -25,13 +25,14 @@ class ServerAdapterI : public Adapter, public IceUtil::Mutex
{
public:
- ServerAdapterI(const NodeIPtr&, ServerI*, const std::string&, const AdapterPrx&, const std::string&);
+ ServerAdapterI(const NodeIPtr&, ServerI*, const std::string&, const AdapterPrx&, const std::string&, bool);
virtual ~ServerAdapterI();
virtual void activate_async(const AMD_Adapter_activatePtr& cb, const Ice::Current&);
virtual Ice::ObjectPrx getDirectProxy(const Ice::Current& = Ice::Current()) const;
virtual void setDirectProxy(const ::Ice::ObjectPrx&, const ::Ice::Current& = Ice::Current());
void destroy();
+ void updateEnabled();
void clear();
void activationFailed(const std::string&);
void activationCompleted();
@@ -48,6 +49,7 @@ private:
ServerI* _server;
Ice::ObjectPrx _proxy;
+ bool _enabled;
std::vector<AMD_Adapter_activatePtr> _activateCB;
bool _activateAfterDeactivating;
};