summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/SessionManager.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-08-28 17:56:33 +0200
committerBenoit Foucher <benoit@zeroc.com>2013-08-28 17:56:33 +0200
commit08cb802bb321d6a92323792d4f0dbefe13d87032 (patch)
tree07a487d26275ce136e8dee0d12422d2afe2498b5 /cpp/src/IceGrid/SessionManager.h
parentmakedist.py fixes (diff)
downloadice-08cb802bb321d6a92323792d4f0dbefe13d87032.tar.bz2
ice-08cb802bb321d6a92323792d4f0dbefe13d87032.tar.xz
ice-08cb802bb321d6a92323792d4f0dbefe13d87032.zip
Fix for ICE-5357: improved discovery of replicas on node/slave startup
Diffstat (limited to 'cpp/src/IceGrid/SessionManager.h')
-rw-r--r--cpp/src/IceGrid/SessionManager.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/SessionManager.h b/cpp/src/IceGrid/SessionManager.h
index 01286b665af..3547da3d04f 100644
--- a/cpp/src/IceGrid/SessionManager.h
+++ b/cpp/src/IceGrid/SessionManager.h
@@ -313,6 +313,23 @@ protected:
Action _nextAction;
};
+class SessionManager : public IceUtil::Monitor<IceUtil::Mutex>
+{
+public:
+
+ SessionManager();
+ virtual ~SessionManager();
+
+ virtual bool isDestroyed() = 0;
+
+protected:
+
+ void initQueryObjects(const Ice::LocatorPrx&);
+ std::vector<IceGrid::QueryPrx> findAllQueryObjects();
+
+ std::vector<IceGrid::QueryPrx> _queryObjects;
+};
+
};
#endif