summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/RoutingTable.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2006-03-10 20:53:25 +0000
committerMarc Laukien <marc@zeroc.com>2006-03-10 20:53:25 +0000
commitd9286a26f6d173d14235173d0f190f52acdbee9d (patch)
treeb7e26b32bc2871dfd66b836cf3b1d399983a5178 /cpp/src/Ice/RoutingTable.cpp
parentMinor fix to retry port (diff)
downloadice-d9286a26f6d173d14235173d0f190f52acdbee9d.tar.bz2
ice-d9286a26f6d173d14235173d0f190f52acdbee9d.tar.xz
ice-d9286a26f6d173d14235173d0f190f52acdbee9d.zip
separate routing tables
Diffstat (limited to 'cpp/src/Ice/RoutingTable.cpp')
-rw-r--r--cpp/src/Ice/RoutingTable.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/cpp/src/Ice/RoutingTable.cpp b/cpp/src/Ice/RoutingTable.cpp
index 78c93dd31ae..d5514dc4990 100644
--- a/cpp/src/Ice/RoutingTable.cpp
+++ b/cpp/src/Ice/RoutingTable.cpp
@@ -71,39 +71,3 @@ IceInternal::RoutingTable::add(const ObjectPrx& prx)
return false;
}
}
-
-ObjectPrx
-IceInternal::RoutingTable::get(const Identity& ident)
-{
- if(ident.name.empty())
- {
- return 0;
- }
-
- IceUtil::Mutex::Lock sync(*this);
-
- map<Identity, ObjectPrx>::iterator p = _table.end();
-
- if(_tableHint != _table.end())
- {
- if(_tableHint->first == ident)
- {
- p = _tableHint;
- }
- }
-
- if(p == _table.end())
- {
- p = _table.find(ident);
- }
-
- if(p == _table.end())
- {
- return 0;
- }
- else
- {
- _tableHint = p;
- return p->second;
- }
-}