diff src/org/eclipse/jetty/io/nio/SslConnection.java @ 978:bdb6eb0fbf93

simplify ChannelEndPoint
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 16 Oct 2016 14:53:43 -0600
parents 7422ca1ae146
children 35d04ac3fd0b
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/SslConnection.java	Sun Oct 16 01:31:05 2016 -0600
+++ b/src/org/eclipse/jetty/io/nio/SslConnection.java	Sun Oct 16 14:53:43 2016 -0600
@@ -20,6 +20,7 @@
 
 import java.io.IOException;
 import java.nio.ByteBuffer;
+import java.nio.channels.SocketChannel;
 import java.util.concurrent.atomic.AtomicBoolean;
 import javax.net.ssl.SSLEngine;
 import javax.net.ssl.SSLEngineResult;
@@ -667,9 +668,9 @@
 			return _endp.isOpen();
 		}
 
-		public Object getTransport()
+		public SocketChannel getChannel()
 		{
-			return _endp;
+			return _endp.getChannel();
 		}
 
 		public void flush() throws IOException