diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-05-17 12:27:58 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-05-17 12:27:58 +0000 |
commit | e52e31abbe3878540a3d79aec167fb24fe73de8e (patch) | |
tree | 4dbd775cf9c3102c2c673ed3d03aa5653ea42408 /cpp/src/IceGrid/NodeCache.h | |
parent | Fixed bug 997 (diff) | |
download | ice-e52e31abbe3878540a3d79aec167fb24fe73de8e.tar.bz2 ice-e52e31abbe3878540a3d79aec167fb24fe73de8e.tar.xz ice-e52e31abbe3878540a3d79aec167fb24fe73de8e.zip |
More work on session activation.
Diffstat (limited to 'cpp/src/IceGrid/NodeCache.h')
-rw-r--r-- | cpp/src/IceGrid/NodeCache.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/NodeCache.h b/cpp/src/IceGrid/NodeCache.h index 41a25b5b815..850faaf7944 100644 --- a/cpp/src/IceGrid/NodeCache.h +++ b/cpp/src/IceGrid/NodeCache.h @@ -20,6 +20,9 @@ namespace IceGrid class NodeCache; +class SessionI; +typedef IceUtil::Handle<SessionI> SessionIPtr; + class NodeSessionI; typedef IceUtil::Handle<NodeSessionI> NodeSessionIPtr; @@ -46,13 +49,13 @@ public: bool canRemove(); - void loadServer(const ServerEntryPtr&, const ServerInfo&); + void loadServer(const ServerEntryPtr&, const ServerInfo&, const SessionIPtr&); void destroyServer(const ServerEntryPtr&, const std::string&); - ServerInfo getServerInfo(const ServerInfo&); + ServerInfo getServerInfo(const ServerInfo&, const SessionIPtr&); private: - ServerDescriptorPtr getServerDescriptor(const ServerInfo&); + ServerDescriptorPtr getServerDescriptor(const ServerInfo&, const SessionIPtr&); NodeCache& _cache; const std::string _name; |