summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerCache.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-09-30 04:58:01 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-09-30 04:58:01 +0000
commita795900d002f4182b13b32f6ebf3391458786123 (patch)
tree3a75ed09a7ce57e0253f54ee6f0cbcf08dfba3ac /cpp/src/IceGrid/ServerCache.h
parentBug 498. (diff)
downloadice-a795900d002f4182b13b32f6ebf3391458786123.tar.bz2
ice-a795900d002f4182b13b32f6ebf3391458786123.tar.xz
ice-a795900d002f4182b13b32f6ebf3391458786123.zip
Added support for <adapter name>.ReplicaId.
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.h')
-rw-r--r--cpp/src/IceGrid/ServerCache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ServerCache.h b/cpp/src/IceGrid/ServerCache.h
index 80e135f6aee..daddd1c2298 100644
--- a/cpp/src/IceGrid/ServerCache.h
+++ b/cpp/src/IceGrid/ServerCache.h
@@ -41,7 +41,7 @@ public:
std::string getId() const;
ServerPrx getProxy(int&, int&, std::string&);
- AdapterPrx getAdapter(const std::string&);
+ AdapterPrx getAdapter(const std::string&, const std::string&);
NodeEntryPtr getNode() const;
std::string getApplication() const;
float getLoad(LoadSample) const;
@@ -51,7 +51,7 @@ public:
private:
- ServerPrx syncImpl(StringAdapterPrxDict&, int&, int&, std::string&);
+ ServerPrx syncImpl(AdapterPrxDict&, int&, int&, std::string&);
ServerCache& _cache;
const std::string _id;
@@ -60,7 +60,7 @@ private:
std::auto_ptr<ServerInfo> _destroy;
ServerPrx _proxy;
- std::map<std::string, AdapterPrx> _adapters;
+ AdapterPrxDict _adapters;
int _activationTimeout;
int _deactivationTimeout;