diff options
Diffstat (limited to 'cpp/src/IceGrid/NodeCache.h')
-rw-r--r-- | cpp/src/IceGrid/NodeCache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/NodeCache.h b/cpp/src/IceGrid/NodeCache.h index 0fed9a183e8..41a25b5b815 100644 --- a/cpp/src/IceGrid/NodeCache.h +++ b/cpp/src/IceGrid/NodeCache.h @@ -66,7 +66,7 @@ class NodeCache : public CacheByString<NodeEntry> { public: - NodeCache(int); + NodeCache(const Ice::CommunicatorPtr&, int); void destroy(); @@ -74,8 +74,11 @@ public: int getSessionTimeout() { return _sessionTimeout; } + const Ice::CommunicatorPtr& getCommunicator() const { return _communicator; } + private: + Ice::CommunicatorPtr _communicator; const int _sessionTimeout; }; |