summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/LocatorI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2002-11-07 23:58:33 +0000
committerBenoit Foucher <benoit@zeroc.com>2002-11-07 23:58:33 +0000
commit55a5b40f975a6853eac99db155a6dc84b3530c5b (patch)
tree00bada0565fe593effb0ddf10e44820f08451295 /cpp/src/IcePack/LocatorI.cpp
parentFixes (diff)
downloadice-55a5b40f975a6853eac99db155a6dc84b3530c5b.tar.bz2
ice-55a5b40f975a6853eac99db155a6dc84b3530c5b.tar.xz
ice-55a5b40f975a6853eac99db155a6dc84b3530c5b.zip
Replaced invalid references to "adapter name" by "adapter id".
Diffstat (limited to 'cpp/src/IcePack/LocatorI.cpp')
-rw-r--r--cpp/src/IcePack/LocatorI.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/IcePack/LocatorI.cpp b/cpp/src/IcePack/LocatorI.cpp
index 68a8137dbf2..ab2822d7fbf 100644
--- a/cpp/src/IcePack/LocatorI.cpp
+++ b/cpp/src/IcePack/LocatorI.cpp
@@ -26,21 +26,21 @@ IcePack::LocatorI::LocatorI(const AdapterRegistryPtr& adapterRegistry,
}
Ice::ObjectPrx
-IcePack::LocatorI::findAdapterByName(const string& name, const Ice::Current&) const
+IcePack::LocatorI::findAdapterById(const string& id, const Ice::Current&) const
{
//
// TODO: I think will need to do something more sensible in cases
// where the adapter is found but the adapter proxy is null
// (possibly because the server activation failed or timed out) or
// if the adapter object isn't reachable (possibly because the
- // IcePack node is down or unreachable). Right now the Ice cleint
+ // IcePack node is down or unreachable). Right now the Ice client
// will always throw a NoEndpointException because we return a
// null proxy here...
//
try
{
- return _adapterRegistry->findByName(name)->getDirectProxy(true);
+ return _adapterRegistry->findById(id)->getDirectProxy(true);
}
catch(const AdapterNotExistException&)
{
@@ -55,7 +55,8 @@ IcePack::LocatorI::findAdapterByName(const string& name, const Ice::Current&) co
{
//
// This could be because we can't locate the IcePack node
- // adapter. IcePack server adapter proxy are not direct proxy.
+ // adapter (IcePack server adapter proxies are not direct
+ // proxies)
//
}
catch(const Ice::LocalException&)