diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-07-14 16:46:54 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-07-14 16:46:54 +0000 |
commit | e4f132a981fabf0bb70ac61a12a7d33902f5a0ac (patch) | |
tree | d9e9400a722f9a784ec7fe2f0c545870e2f95adb /cppe/src/IceE/OutgoingConnectionFactory.cpp | |
parent | Added retrieval of login info from user. (diff) | |
download | ice-e4f132a981fabf0bb70ac61a12a7d33902f5a0ac.tar.bz2 ice-e4f132a981fabf0bb70ac61a12a7d33902f5a0ac.tar.xz ice-e4f132a981fabf0bb70ac61a12a7d33902f5a0ac.zip |
It is not possible to compile the client side library with router support.
Diffstat (limited to 'cppe/src/IceE/OutgoingConnectionFactory.cpp')
-rwxr-xr-x | cppe/src/IceE/OutgoingConnectionFactory.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cppe/src/IceE/OutgoingConnectionFactory.cpp b/cppe/src/IceE/OutgoingConnectionFactory.cpp index a0a46486b25..221213b5e66 100755 --- a/cppe/src/IceE/OutgoingConnectionFactory.cpp +++ b/cppe/src/IceE/OutgoingConnectionFactory.cpp @@ -350,7 +350,9 @@ IceInternal::OutgoingConnectionFactory::setRouter(const RouterPrx& router) // received over such connections. // ObjectPrx proxy = routerInfo->getClientProxy(); +#ifndef ICEE_PURE_CLIENT ObjectAdapterPtr adapter = routerInfo->getAdapter(); +#endif vector<EndpointPtr> endpoints = proxy->__reference()->getEndpoints(); vector<EndpointPtr>::const_iterator p; for(p = endpoints.begin(); p != endpoints.end(); ++p) @@ -365,6 +367,7 @@ IceInternal::OutgoingConnectionFactory::setRouter(const RouterPrx& router) endpoint = endpoint->timeout(_instance->defaultsAndOverrides()->overrideTimeoutValue); } +#ifndef ICEE_PURE_CLIENT pair<multimap<EndpointPtr, ConnectionPtr>::iterator, multimap<EndpointPtr, ConnectionPtr>::iterator> pr = _connections.equal_range(endpoint); @@ -382,8 +385,9 @@ IceInternal::OutgoingConnectionFactory::setRouter(const RouterPrx& router) } ++pr.first; } +#endif } - } + } } #endif |