diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-09-03 15:42:19 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-09-03 15:42:19 +0200 |
commit | 91f6ebb998532b36fc70187b641a5b7404060422 (patch) | |
tree | ac88e961c68e4b09eb819f4b57b9ecac56854567 /cpp/src/IceGrid/SessionManager.h | |
parent | ICE-5378 - Remove slice35d.dll from Windows installer (diff) | |
download | ice-91f6ebb998532b36fc70187b641a5b7404060422.tar.bz2 ice-91f6ebb998532b36fc70187b641a5b7404060422.tar.xz ice-91f6ebb998532b36fc70187b641a5b7404060422.zip |
Fixed ICE-5358 - allow IceGrid replica to initialize its database from another replica
Diffstat (limited to 'cpp/src/IceGrid/SessionManager.h')
-rw-r--r-- | cpp/src/IceGrid/SessionManager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/SessionManager.h b/cpp/src/IceGrid/SessionManager.h index 3547da3d04f..1baeaf5f14a 100644 --- a/cpp/src/IceGrid/SessionManager.h +++ b/cpp/src/IceGrid/SessionManager.h @@ -317,16 +317,17 @@ class SessionManager : public IceUtil::Monitor<IceUtil::Mutex> { public: - SessionManager(); + SessionManager(const Ice::CommunicatorPtr&); virtual ~SessionManager(); virtual bool isDestroyed() = 0; protected: - void initQueryObjects(const Ice::LocatorPrx&); std::vector<IceGrid::QueryPrx> findAllQueryObjects(); + Ice::CommunicatorPtr _communicator; + InternalRegistryPrx _master; std::vector<IceGrid::QueryPrx> _queryObjects; }; |