diff options
author | Mark Spruiell <mes@zeroc.com> | 2007-01-26 16:58:00 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2007-01-26 16:58:00 +0000 |
commit | 71f7fff702750e9b779f645d21075562e5c80a40 (patch) | |
tree | 0f059491911ecc5ea3f6c680b0ae05d0f67e7bfd /java/src/IceInternal/RoutableReference.java | |
parent | Synced with other assemby files (diff) | |
download | ice-71f7fff702750e9b779f645d21075562e5c80a40.tar.bz2 ice-71f7fff702750e9b779f645d21075562e5c80a40.tar.xz ice-71f7fff702750e9b779f645d21075562e5c80a40.zip |
preserve proxy settings for CacheConnection, EndpointSelection,
ThreadPerConnection
Diffstat (limited to 'java/src/IceInternal/RoutableReference.java')
-rw-r--r-- | java/src/IceInternal/RoutableReference.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/java/src/IceInternal/RoutableReference.java b/java/src/IceInternal/RoutableReference.java index fe7f8bd208a..3bb2620d487 100644 --- a/java/src/IceInternal/RoutableReference.java +++ b/java/src/IceInternal/RoutableReference.java @@ -265,20 +265,23 @@ public abstract class RoutableReference extends Reference boolean sec, boolean prefSec, RouterInfo rtrInfo, - boolean collocationOpt) + boolean collocationOpt, + boolean cacheConnection, + Ice.EndpointSelectionType endpointSelection, + boolean threadPerConnection) { super(inst, com, ident, ctx, fac, md); _secure = sec; _preferSecure = prefSec; _routerInfo = rtrInfo; _collocationOptimization = collocationOpt; - _cacheConnection = true; - _endpointSelection = Ice.EndpointSelectionType.Random; + _cacheConnection = cacheConnection; + _endpointSelection = endpointSelection; _overrideCompress = false; _compress = false; _overrideTimeout = false; _timeout = -1; - _threadPerConnection = inst.threadPerConnection(); + _threadPerConnection = threadPerConnection; } protected void |