Class NioSocketChannel


  • public class NioSocketChannel
    extends NioChannel
    • Constructor Detail

      • NioSocketChannel

        public NioSocketChannel​(java.nio.channels.SocketChannel socketChannel)
    • Method Detail

      • getRawChannel

        public java.nio.channels.SocketChannel getRawChannel()
        Specified by:
        getRawChannel in class NioChannel
      • getRemoteAddress

        public java.net.InetSocketAddress getRemoteAddress()
      • addConnectListener

        public void addConnectListener​(java.util.function.BiConsumer<java.lang.Void,​java.lang.Exception> listener)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object