diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-05-15 19:08:14 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-05-15 19:08:14 +0000 |
commit | 785779393681eddac36a9e4b2f779c6794ca2b51 (patch) | |
tree | ab36984b576c97655a00ff99321ee7e5a28d7e65 /java/src/Ice/ConnectionI.java | |
parent | Fixed typo in string conversion (diff) | |
download | ice-785779393681eddac36a9e4b2f779c6794ca2b51.tar.bz2 ice-785779393681eddac36a9e4b2f779c6794ca2b51.tar.xz ice-785779393681eddac36a9e4b2f779c6794ca2b51.zip |
thread pool changes to support Java5 SSL plugin
Diffstat (limited to 'java/src/Ice/ConnectionI.java')
-rw-r--r-- | java/src/Ice/ConnectionI.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/Ice/ConnectionI.java b/java/src/Ice/ConnectionI.java index e2f92ca7845..53521ad6404 100644 --- a/java/src/Ice/ConnectionI.java +++ b/java/src/Ice/ConnectionI.java @@ -1070,15 +1070,15 @@ public final class ConnectionI extends IceInternal.EventHandler implements Conne return true; } - public void + public boolean read(IceInternal.BasicStream stream) { assert(!_instance.threadPerConnection()); // Only for use with a thread pool. - _transceiver.read(stream, 0); + return _transceiver.read(stream, 0); // - // Updating _acmAbsoluteTimeoutMillis is to expensive here, + // Updating _acmAbsoluteTimeoutMillis is too expensive here, // because we would have to acquire a lock just for this // purpose. Instead, we update _acmAbsoluteTimeoutMillis in // message(). |