summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/RoutingTable.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-07-06 13:08:23 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-07-06 13:08:23 +0000
commit3030ac8c355435c4426c82019669c476f5c76088 (patch)
treec57f7c0a983c44847f93285f0676df49f21707b9 /cppe/src/IceE/RoutingTable.cpp
parentUse direct proxy for process object instead of indirect proxy (diff)
downloadice-3030ac8c355435c4426c82019669c476f5c76088.tar.bz2
ice-3030ac8c355435c4426c82019669c476f5c76088.tar.xz
ice-3030ac8c355435c4426c82019669c476f5c76088.zip
Renamed namespace back to Ice
Diffstat (limited to 'cppe/src/IceE/RoutingTable.cpp')
-rw-r--r--cppe/src/IceE/RoutingTable.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/cppe/src/IceE/RoutingTable.cpp b/cppe/src/IceE/RoutingTable.cpp
index dd4b24ed322..f5fadca71eb 100644
--- a/cppe/src/IceE/RoutingTable.cpp
+++ b/cppe/src/IceE/RoutingTable.cpp
@@ -15,28 +15,28 @@
#include <IceE/Proxy.h>
using namespace std;
-using namespace IceE;
-using namespace IceEInternal;
+using namespace Ice;
+using namespace IceInternal;
-void IceEInternal::incRef(RoutingTable* p) { p->__incRef(); }
-void IceEInternal::decRef(RoutingTable* p) { p->__decRef(); }
+void IceInternal::incRef(RoutingTable* p) { p->__incRef(); }
+void IceInternal::decRef(RoutingTable* p) { p->__decRef(); }
-IceEInternal::RoutingTable::RoutingTable() :
+IceInternal::RoutingTable::RoutingTable() :
_tableHint(_table.end())
{
}
void
-IceEInternal::RoutingTable::clear()
+IceInternal::RoutingTable::clear()
{
- IceE::Mutex::Lock sync(*this);
+ Ice::Mutex::Lock sync(*this);
_table.clear();
_tableHint = _table.end();
}
bool
-IceEInternal::RoutingTable::add(const ObjectPrx& prx)
+IceInternal::RoutingTable::add(const ObjectPrx& prx)
{
if(!prx)
{
@@ -45,7 +45,7 @@ IceEInternal::RoutingTable::add(const ObjectPrx& prx)
ObjectPrx proxy = prx->ice_default(); // We insert the proxy in its default form into the routing table.
- IceE::Mutex::Lock sync(*this);
+ Ice::Mutex::Lock sync(*this);
map<Identity, ObjectPrx>::iterator p = _table.end();
@@ -74,14 +74,14 @@ IceEInternal::RoutingTable::add(const ObjectPrx& prx)
}
ObjectPrx
-IceEInternal::RoutingTable::get(const Identity& ident)
+IceInternal::RoutingTable::get(const Identity& ident)
{
if(ident.name.empty())
{
return 0;
}
- IceE::Mutex::Lock sync(*this);
+ Ice::Mutex::Lock sync(*this);
map<Identity, ObjectPrx>::iterator p = _table.end();