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 AsynchronousSocketChannel
AsynchronousSocketChannel. bind(SocketAddress local)
static AsynchronousSocketChannel
AsynchronousSocketChannel. open()
打开异步套接字通道。static AsynchronousSocketChannel
AsynchronousSocketChannel. open(AsynchronousChannelGroup group)
打开异步套接字通道。abstract <T> AsynchronousSocketChannel
AsynchronousSocketChannel. setOption(SocketOption<T> name, T value)
abstract AsynchronousSocketChannel
AsynchronousSocketChannel. shutdownInput()
关闭连接进行阅读,不关闭频道。abstract AsynchronousSocketChannel
AsynchronousSocketChannel. 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> void
AsynchronousServerSocketChannel. 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 AsynchronousSocketChannel
AsynchronousChannelProvider. openAsynchronousSocketChannel(AsynchronousChannelGroup group)
打开异步套接字通道。
-