comparison 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
comparison
equal deleted inserted replaced
977:d35b0a3a7a4a 978:bdb6eb0fbf93
18 18
19 package org.eclipse.jetty.io.nio; 19 package org.eclipse.jetty.io.nio;
20 20
21 import java.io.IOException; 21 import java.io.IOException;
22 import java.nio.ByteBuffer; 22 import java.nio.ByteBuffer;
23 import java.nio.channels.SocketChannel;
23 import java.util.concurrent.atomic.AtomicBoolean; 24 import java.util.concurrent.atomic.AtomicBoolean;
24 import javax.net.ssl.SSLEngine; 25 import javax.net.ssl.SSLEngine;
25 import javax.net.ssl.SSLEngineResult; 26 import javax.net.ssl.SSLEngineResult;
26 import javax.net.ssl.SSLEngineResult.HandshakeStatus; 27 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
27 import javax.net.ssl.SSLException; 28 import javax.net.ssl.SSLException;
665 public boolean isOpen() 666 public boolean isOpen()
666 { 667 {
667 return _endp.isOpen(); 668 return _endp.isOpen();
668 } 669 }
669 670
670 public Object getTransport() 671 public SocketChannel getChannel()
671 { 672 {
672 return _endp; 673 return _endp.getChannel();
673 } 674 }
674 675
675 public void flush() throws IOException 676 public void flush() throws IOException
676 { 677 {
677 process(null, null); 678 process(null, null);