summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 @@
1/* 1/*
2 * Copyright (c) 2011-2015 Isode Limited. 2 * Copyright (c) 2011-2016 Isode Limited.
3 * All rights reserved. 3 * All rights reserved.
4 * See the COPYING file for more information. 4 * See the COPYING file for more information.
5 */ 5 */
@@ -123,6 +123,10 @@ public class TLSConnection extends Connection {
123 public HostAddressPort getLocalAddress() { 123 public HostAddressPort getLocalAddress() {
124 return connection.getLocalAddress(); 124 return connection.getLocalAddress();
125 } 125 }
126
127 public TLSContext getContext() {
128 return context;
129 }
126 130
127 private void handleRawConnectFinished(boolean error) { 131 private void handleRawConnectFinished(boolean error) {
128 if (onConnectFinished != null) { 132 if (onConnectFinished != null) {