diff options
Diffstat (limited to 'cpp/test/Ice/location/ServerLocator.cpp')
-rw-r--r-- | cpp/test/Ice/location/ServerLocator.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/test/Ice/location/ServerLocator.cpp b/cpp/test/Ice/location/ServerLocator.cpp index c6fe03a8c1e..b6eb03caba3 100644 --- a/cpp/test/Ice/location/ServerLocator.cpp +++ b/cpp/test/Ice/location/ServerLocator.cpp @@ -19,8 +19,8 @@ ServerLocatorRegistry::ServerLocatorRegistry() void ServerLocatorRegistry::setAdapterDirectProxy_async(const Ice::AMD_LocatorRegistry_setAdapterDirectProxyPtr& cb, - const std::string& adapter, const ::Ice::ObjectPrx& object, - const ::Ice::Current&) + const std::string& adapter, const ::Ice::ObjectPrx& object, + const ::Ice::Current&) { _adapters[adapter] = object; cb->ice_response(); @@ -39,7 +39,7 @@ ServerLocatorRegistry::setReplicatedAdapterDirectProxy_async( void ServerLocatorRegistry::setServerProcessProxy_async(const Ice::AMD_LocatorRegistry_setServerProcessProxyPtr& cb, - const ::std::string&, const Ice::ProcessPrx&, const ::Ice::Current&) + const ::std::string&, const Ice::ProcessPrx&, const ::Ice::Current&) { cb->ice_response(); } @@ -56,7 +56,7 @@ ServerLocatorRegistry::getAdapter(const ::std::string& adapter) const ::std::map< string, ::Ice::ObjectPrx>::const_iterator p = _adapters.find(adapter); if(_adapters.find(adapter) == _adapters.end()) { - throw Ice::AdapterNotFoundException(); + throw Ice::AdapterNotFoundException(); } return p->second; } @@ -67,7 +67,7 @@ ServerLocatorRegistry::getObject(const ::Ice::Identity& id) const ::std::map< ::Ice::Identity, ::Ice::ObjectPrx>::const_iterator p = _objects.find(id); if(p == _objects.end()) { - throw Ice::ObjectNotFoundException(); + throw Ice::ObjectNotFoundException(); } return p->second; @@ -88,7 +88,7 @@ ServerLocator::ServerLocator(const ServerLocatorRegistryPtr& registry, const ::I void ServerLocator::findObjectById_async(const Ice::AMD_Locator_findObjectByIdPtr& response, const Ice::Identity& id, - const Ice::Current& current) const + const Ice::Current& current) const { ++const_cast<int&>(_requestCount); response->ice_response(_registry->getObject(id)); @@ -96,7 +96,7 @@ ServerLocator::findObjectById_async(const Ice::AMD_Locator_findObjectByIdPtr& re void ServerLocator::findAdapterById_async(const Ice::AMD_Locator_findAdapterByIdPtr& response, const string& id, - const Ice::Current& current) const + const Ice::Current& current) const { ++const_cast<int&>(_requestCount); response->ice_response(_registry->getAdapter(id)); |