Uses of Class
java.nio.channels.AsynchronousSocketChannel
Packages that use AsynchronousSocketChannel
Package
Description
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files and sockets; defines selectors, for
multiplexed, non-blocking I/O operations.
Service-provider classes for the
java.nio.channels
package.-
Uses of AsynchronousSocketChannel in java.nio.channels
Methods in java.nio.channels that return AsynchronousSocketChannelModifier and TypeMethodDescriptionabstract AsynchronousSocketChannelAsynchronousSocketChannel.bind(SocketAddress local) static AsynchronousSocketChannelAsynchronousSocketChannel.open()Opens an asynchronous socket channel.static AsynchronousSocketChannelAsynchronousSocketChannel.open(AsynchronousChannelGroup group) Opens an asynchronous socket channel.abstract <T> AsynchronousSocketChannelAsynchronousSocketChannel.setOption(SocketOption<T> name, T value) abstract AsynchronousSocketChannelAsynchronousSocketChannel.shutdownInput()Shutdown the connection for reading without closing the channel.abstract AsynchronousSocketChannelAsynchronousSocketChannel.shutdownOutput()Shutdown the connection for writing without closing the channel.Methods in java.nio.channels that return types with arguments of type AsynchronousSocketChannelModifier and TypeMethodDescriptionabstract Future<AsynchronousSocketChannel> AsynchronousServerSocketChannel.accept()Accepts a connection.Method parameters in java.nio.channels with type arguments of type AsynchronousSocketChannelModifier and TypeMethodDescriptionabstract <A> voidAsynchronousServerSocketChannel.accept(A attachment, CompletionHandler<AsynchronousSocketChannel, ? super A> handler) Accepts a connection. -
Uses of AsynchronousSocketChannel in java.nio.channels.spi
Methods in java.nio.channels.spi that return AsynchronousSocketChannelModifier and TypeMethodDescriptionabstract AsynchronousSocketChannelAsynchronousChannelProvider.openAsynchronousSocketChannel(AsynchronousChannelGroup group) Opens an asynchronous socket channel.