summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeCache.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-05-17 12:27:58 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-05-17 12:27:58 +0000
commite52e31abbe3878540a3d79aec167fb24fe73de8e (patch)
tree4dbd775cf9c3102c2c673ed3d03aa5653ea42408 /cpp/src/IceGrid/NodeCache.h
parentFixed bug 997 (diff)
downloadice-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.h9
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;