diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-08-23 15:44:31 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-08-23 15:44:31 +0000 |
commit | 725d1f86adc4e2129c75c7b24e7fa1000c0d18c3 (patch) | |
tree | 570c1bd999daede2f08f334225a84458329eab7f /cpp/src/IceGrid/ServerCache.h | |
parent | Added more tracing (diff) | |
download | ice-725d1f86adc4e2129c75c7b24e7fa1000c0d18c3.tar.bz2 ice-725d1f86adc4e2129c75c7b24e7fa1000c0d18c3.tar.xz ice-725d1f86adc4e2129c75c7b24e7fa1000c0d18c3.zip |
More replication work.
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.h')
-rw-r--r-- | cpp/src/IceGrid/ServerCache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ServerCache.h b/cpp/src/IceGrid/ServerCache.h index 2348326614a..eccf5485fa2 100644 --- a/cpp/src/IceGrid/ServerCache.h +++ b/cpp/src/IceGrid/ServerCache.h @@ -37,7 +37,8 @@ public: ServerEntry(ServerCache&, const std::string&); void sync(); - void update(const ServerInfo&, int); + void update(const ServerInfo&); + void updateRevision(int); void destroy(); ServerInfo getServerInfo(bool = false) const; @@ -80,7 +81,6 @@ private: std::auto_ptr<Ice::Exception> _exception; SessionIPtr _session; - int _revision; }; typedef IceUtil::Handle<ServerEntry> ServerEntryPtr; typedef std::vector<ServerEntryPtr> ServerEntrySeq; @@ -91,7 +91,7 @@ public: ServerCache(const Ice::CommunicatorPtr&, NodeCache&, AdapterCache&, ObjectCache&, AllocatableObjectCache&, int); - ServerEntryPtr add(const ServerInfo&, int); + ServerEntryPtr add(const ServerInfo&); ServerEntryPtr get(const std::string&) const; bool has(const std::string&) const; ServerEntryPtr remove(const std::string&, bool = true); |