summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode')
-rw-r--r--src/com/isode/stroke/network/TLSConnection.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/isode/stroke/network/TLSConnection.java b/src/com/isode/stroke/network/TLSConnection.java
index a67f20d..d64f88b 100644
--- a/src/com/isode/stroke/network/TLSConnection.java
+++ b/src/com/isode/stroke/network/TLSConnection.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2015 Isode Limited.
+ * Copyright (c) 2011-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -123,6 +123,10 @@ public class TLSConnection extends Connection {
public HostAddressPort getLocalAddress() {
return connection.getLocalAddress();
}
+
+ public TLSContext getContext() {
+ return context;
+ }
private void handleRawConnectFinished(boolean error) {
if (onConnectFinished != null) {