类的用途
java.nio.channels.AsynchronousServerSocketChannel
-
AsynchronousServerSocketChannel 在 java.nio.channels 中的用法
修饰符和类型方法描述AsynchronousServerSocketChannel.bind(SocketAddress local) 将通道的套接字绑定到本地地址并配置套接字以监听连接。abstract AsynchronousServerSocketChannelAsynchronousServerSocketChannel.bind(SocketAddress local, int backlog) 将通道的套接字绑定到本地地址并配置套接字以监听连接。AsynchronousServerSocketChannel.open()打开异步服务套接字通道。AsynchronousServerSocketChannel.open(AsynchronousChannelGroup group) 打开异步服务套接字通道。abstract <T> AsynchronousServerSocketChannelAsynchronousServerSocketChannel.setOption(SocketOption<T> name, T value) -
AsynchronousServerSocketChannel 在 java.nio.channels.spi 中的用法
修饰符和类型方法描述abstract AsynchronousServerSocketChannelAsynchronousChannelProvider.openAsynchronousServerSocketChannel(AsynchronousChannelGroup group) 打开异步服务套接字通道。