summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ConnectionI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ConnectionI.cpp')
-rw-r--r--cpp/src/Ice/ConnectionI.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp
index 96952c5bf3a..94303438497 100644
--- a/cpp/src/Ice/ConnectionI.cpp
+++ b/cpp/src/Ice/ConnectionI.cpp
@@ -1465,6 +1465,17 @@ Ice::ConnectionI::timeout() const
return _endpoint->timeout(); // No mutex lock, _endpoint is immutable.
}
+ConnectionInfoPtr
+Ice::ConnectionI::getInfo() const
+{
+ IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this);
+ if(_exception.get())
+ {
+ _exception->ice_throw();
+ }
+ return _transceiver->getInfo();
+}
+
//
// Only used by the SSL plug-in.
//