Uses of Class
java.nio.channels.AsynchronousSocketChannel
-
Packages that use AsynchronousSocketChannel 软件包 描述 java.nio.channels 定义通道,其表示与能够执行I / O操作的实体的连接,例如文件和套接字; 定义选择器,用于多路复用,非阻塞I / O操作。java.nio.channels.spi 服务提供商类为java.nio.channels包。 -
-
Uses of AsynchronousSocketChannel in java.nio.channels
Methods in java.nio.channels that return AsynchronousSocketChannel Modifier and Type 方法 描述 abstract AsynchronousSocketChannelAsynchronousSocketChannel. bind(SocketAddress local)static AsynchronousSocketChannelAsynchronousSocketChannel. open()打开异步套接字通道。static AsynchronousSocketChannelAsynchronousSocketChannel. open(AsynchronousChannelGroup group)打开异步套接字通道。abstract <T> AsynchronousSocketChannelAsynchronousSocketChannel. setOption(SocketOption<T> name, T value)abstract AsynchronousSocketChannelAsynchronousSocketChannel. shutdownInput()关闭连接进行阅读,不关闭频道。abstract AsynchronousSocketChannelAsynchronousSocketChannel. shutdownOutput()关闭连接以进行写入,而不关闭通道。Methods in java.nio.channels that return types with arguments of type AsynchronousSocketChannel Modifier and Type 方法 描述 abstract Future<AsynchronousSocketChannel>AsynchronousServerSocketChannel. accept()接受连接。Method parameters in java.nio.channels with type arguments of type AsynchronousSocketChannel Modifier and Type 方法 描述 abstract <A> voidAsynchronousServerSocketChannel. accept(A attachment, CompletionHandler<AsynchronousSocketChannel,? super A> handler)接受连接。 -
Uses of AsynchronousSocketChannel in java.nio.channels.spi
Methods in java.nio.channels.spi that return AsynchronousSocketChannel Modifier and Type 方法 描述 abstract AsynchronousSocketChannelAsynchronousChannelProvider. openAsynchronousSocketChannel(AsynchronousChannelGroup group)打开异步套接字通道。
-