summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/AdapterCache.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-10-17 14:53:45 +0200
committerBenoit Foucher <benoit@zeroc.com>2013-10-17 14:53:45 +0200
commitb59a53f0e45d3137eb8d0939023417588a0c9142 (patch)
treeb5217e358bd26412e80e0fe201103af1729aeb13 /cpp/src/IceGrid/AdapterCache.h
parentminor edits to IceBox comments (diff)
downloadice-b59a53f0e45d3137eb8d0939023417588a0c9142.tar.bz2
ice-b59a53f0e45d3137eb8d0939023417588a0c9142.tar.xz
ice-b59a53f0e45d3137eb8d0939023417588a0c9142.zip
Fixed IceGrid registry replication bug reported by Cengage
Diffstat (limited to 'cpp/src/IceGrid/AdapterCache.h')
-rw-r--r--cpp/src/IceGrid/AdapterCache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/AdapterCache.h b/cpp/src/IceGrid/AdapterCache.h
index 3bf0714f566..3668102e35e 100644
--- a/cpp/src/IceGrid/AdapterCache.h
+++ b/cpp/src/IceGrid/AdapterCache.h
@@ -62,7 +62,7 @@ protected:
AdapterCache& _cache;
const std::string _id;
- const std::string _application;
+ std::string _application;
};
typedef IceUtil::Handle<AdapterEntry> AdapterEntryPtr;
@@ -105,9 +105,9 @@ public:
virtual AdapterPrx getProxy(const std::string&, bool) const { return 0; }
void addReplica(const std::string&, const ServerAdapterEntryPtr&);
- void removeReplica(const std::string&);
+ bool removeReplica(const std::string&);
- void update(const LoadBalancingPolicyPtr&);
+ void update(const std::string&, const LoadBalancingPolicyPtr&);
bool hasAdaptersFromOtherApplications() const;
private: