diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-08-01 13:59:13 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-08-01 13:59:13 +0000 |
commit | 1c2200d731e5d42e57476a11303e7b39eb6de3b6 (patch) | |
tree | c125f1d2b654bfbc30198cbfa3904c3a82b56517 /cpp/src/IceGrid/ServerCache.h | |
parent | Fixed bug where variables weren't substituted in distribution descriptors. (diff) | |
download | ice-1c2200d731e5d42e57476a11303e7b39eb6de3b6.tar.bz2 ice-1c2200d731e5d42e57476a11303e7b39eb6de3b6.tar.xz ice-1c2200d731e5d42e57476a11303e7b39eb6de3b6.zip |
Added application info.
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.h')
-rw-r--r-- | cpp/src/IceGrid/ServerCache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/ServerCache.h b/cpp/src/IceGrid/ServerCache.h index 288579a5020..2348326614a 100644 --- a/cpp/src/IceGrid/ServerCache.h +++ b/cpp/src/IceGrid/ServerCache.h @@ -37,7 +37,7 @@ public: ServerEntry(ServerCache&, const std::string&); void sync(); - void update(const ServerInfo&); + void update(const ServerInfo&, int); void destroy(); ServerInfo getServerInfo(bool = false) const; @@ -80,6 +80,7 @@ private: std::auto_ptr<Ice::Exception> _exception; SessionIPtr _session; + int _revision; }; typedef IceUtil::Handle<ServerEntry> ServerEntryPtr; typedef std::vector<ServerEntryPtr> ServerEntrySeq; @@ -90,7 +91,7 @@ public: ServerCache(const Ice::CommunicatorPtr&, NodeCache&, AdapterCache&, ObjectCache&, AllocatableObjectCache&, int); - ServerEntryPtr add(const ServerInfo&); + ServerEntryPtr add(const ServerInfo&, int); ServerEntryPtr get(const std::string&) const; bool has(const std::string&) const; ServerEntryPtr remove(const std::string&, bool = true); |