diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-09-06 15:39:41 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-09-06 15:39:41 +0000 |
commit | 6f46bb760b30ef883b386dfa8e695c8d5004f05f (patch) | |
tree | c3dabd2d404b72a8e4ad16996a913ceee963815e /cpp/src/IceGrid/ReplicaSessionManager.h | |
parent | Fixed bug 1209 (diff) | |
download | ice-6f46bb760b30ef883b386dfa8e695c8d5004f05f.tar.bz2 ice-6f46bb760b30ef883b386dfa8e695c8d5004f05f.tar.xz ice-6f46bb760b30ef883b386dfa8e695c8d5004f05f.zip |
The master now waits for the replicas to be updated before to return.
Added support for dynamic registration of adapters in the replicas.
Diffstat (limited to 'cpp/src/IceGrid/ReplicaSessionManager.h')
-rw-r--r-- | cpp/src/IceGrid/ReplicaSessionManager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ReplicaSessionManager.h b/cpp/src/IceGrid/ReplicaSessionManager.h index 8500d18db2e..3821e74557e 100644 --- a/cpp/src/IceGrid/ReplicaSessionManager.h +++ b/cpp/src/IceGrid/ReplicaSessionManager.h @@ -41,9 +41,10 @@ public: NodePrxSeq getNodes() const; void destroy(); - void incInitCount(); + void receivedUpdate(const std::string&, int); void registerAllWellKnownObjects(); - + ReplicaSessionPrx getSession() const { return _thread->getSession(); } + private: class Thread : public SessionKeepAliveThread<ReplicaSessionPrx, InternalRegistryPrx> @@ -98,7 +99,6 @@ private: DatabasePtr _database; WellKnownObjectsManagerPtr _wellKnownObjects; TraceLevelsPtr _traceLevels; - int _initCount; }; } |