diff options
Diffstat (limited to 'java/src/Ice/ConnectionI.java')
-rw-r--r-- | java/src/Ice/ConnectionI.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/java/src/Ice/ConnectionI.java b/java/src/Ice/ConnectionI.java index 87ae7165e24..88ff87fa40b 100644 --- a/java/src/Ice/ConnectionI.java +++ b/java/src/Ice/ConnectionI.java @@ -1239,6 +1239,16 @@ public final class ConnectionI extends IceInternal.EventHandler implements Conne return _endpoint.timeout(); // No mutex protection necessary, _endpoint is immutable. } + public synchronized ConnectionInfo + getInfo() + { + if(_exception != null) + { + throw (Ice.LocalException)_exception.fillInStackTrace(); + } + return _transceiver.getInfo(); + } + // // Only used by the SSL plug-in. // |