Class NioServerSocketChannel

    • Constructor Detail

      • NioServerSocketChannel

        public NioServerSocketChannel()
        Create a new instance
      • NioServerSocketChannel

        public NioServerSocketChannel​(java.nio.channels.spi.SelectorProvider provider)
        Create a new instance using the given SelectorProvider.
      • NioServerSocketChannel

        public NioServerSocketChannel​(java.nio.channels.spi.SelectorProvider provider,
                                      SocketProtocolFamily family)
        Create a new instance using the given SelectorProvider and protocol family (supported only since JDK 15).
      • NioServerSocketChannel

        public NioServerSocketChannel​(java.nio.channels.ServerSocketChannel channel)
        Create a new instance using the given ServerSocketChannel.