diff options
author | Marc Laukien <marc@zeroc.com> | 2004-10-21 18:58:04 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-10-21 18:58:04 +0000 |
commit | 80d153dcde86a890fc63c147ac47dabb6af91570 (patch) | |
tree | e5eb53835dda09f97c8b04eb294792bb56b6f4e4 /java/src/Ice/ConnectionI.java | |
parent | demo build.xml now use Ice.jar (and db.jar if present), which is more (diff) | |
download | ice-80d153dcde86a890fc63c147ac47dabb6af91570.tar.bz2 ice-80d153dcde86a890fc63c147ac47dabb6af91570.tar.xz ice-80d153dcde86a890fc63c147ac47dabb6af91570.zip |
timeout for clientProxy / ice_connection
Diffstat (limited to 'java/src/Ice/ConnectionI.java')
-rw-r--r-- | java/src/Ice/ConnectionI.java | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/java/src/Ice/ConnectionI.java b/java/src/Ice/ConnectionI.java index 8409ba88d75..640e89b815a 100644 --- a/java/src/Ice/ConnectionI.java +++ b/java/src/Ice/ConnectionI.java @@ -886,13 +886,6 @@ public final class ConnectionI extends IceInternal.EventHandler implements Conne } } - public int - timeout() - { - // No mutex protection necessary, _endpoint is immutable. - return _endpoint.timeout(); - } - public IceInternal.Endpoint endpoint() { @@ -1372,7 +1365,13 @@ public final class ConnectionI extends IceInternal.EventHandler implements Conne public String type() { - return _type; + return _type; // No mutex lock, _type is immutable. + } + + public int + timeout() + { + return _endpoint.timeout(); // No mutex protection necessary, _endpoint is immutable. } public String |