diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-09 13:07:41 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-09 13:07:41 +0000 |
commit | 197b6de9281b52d0b53c4b3fa3312e371b4469a9 (patch) | |
tree | bae93f8155da0770f5dd45d12ef1160ee99aed54 /cpp/src/IceGrid/ServerCache.cpp | |
parent | Added identityToString and stringToIdentity to Communicator (diff) | |
download | ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.tar.bz2 ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.tar.xz ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.zip |
Fixed proxy and identity t/from string functions to use string converters
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/ServerCache.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ServerCache.cpp b/cpp/src/IceGrid/ServerCache.cpp index f5a9cb4acc2..a0b3037a8f3 100644 --- a/cpp/src/IceGrid/ServerCache.cpp +++ b/cpp/src/IceGrid/ServerCache.cpp @@ -8,7 +8,6 @@ // ********************************************************************** #include <Ice/LoggerUtil.h> -#include <Ice/IdentityUtil.h> #include <Ice/Communicator.h> #include <IceGrid/ServerCache.h> #include <IceGrid/NodeCache.h> @@ -172,11 +171,11 @@ ServerCache::addCommunicator(const CommunicatorDescriptorPtr& comm, const Server if(q->id.empty()) { const string edpts = IceGrid::getProperty(comm->propertySet, q->name + ".Endpoints"); - info.proxy = _communicator->stringToProxy(Ice::identityToString(r->id) + ":" + edpts); + info.proxy = _communicator->stringToProxy(_communicator->identityToString(r->id) + ":" + edpts); } else { - info.proxy = _communicator->stringToProxy(Ice::identityToString(r->id) + "@" + q->id); + info.proxy = _communicator->stringToProxy(_communicator->identityToString(r->id) + "@" + q->id); } _objectCache.add(info, application, r->allocatable, parent); } |