summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeSessionManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/NodeSessionManager.h')
-rw-r--r--cpp/src/IceGrid/NodeSessionManager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/NodeSessionManager.h b/cpp/src/IceGrid/NodeSessionManager.h
index 5188fb36409..a06d1f4e2c2 100644
--- a/cpp/src/IceGrid/NodeSessionManager.h
+++ b/cpp/src/IceGrid/NodeSessionManager.h
@@ -55,6 +55,8 @@ public:
NodeSessionKeepAliveThreadPtr replicaAdded(const InternalRegistryPrx&);
void replicaRemoved(const InternalRegistryPrx&);
+ NodeSessionPrx getMasterNodeSession() const { return _thread->getSession(); }
+
private:
void syncReplicas(const InternalRegistryPrxSeq&);