Class Nio2Channel

java.lang.Object
org.apache.tomcat.util.net.Nio2Channel
All Implemented Interfaces:
Closeable, AutoCloseable, AsynchronousByteChannel, AsynchronousChannel, Channel
Direct Known Subclasses:
SecureNio2Channel

public class Nio2Channel extends Object implements AsynchronousByteChannel
Base class for a SocketChannel wrapper used by the endpoint. This way, logic for an SSL socket channel remains the same as for a non SSL, making sure we don't need to code for any exception cases.