Uses of Class
Provides the classes for implementing networking applications.
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
Uses of SocketChannel in java.net
Uses of SocketChannel in java.nio.channelsModifier and TypeMethodDescriptionServerSocketChannel.
accept()Accepts a connection made to this channel's socket.Binds the channel's socket to a local address.SocketChannel.
open()Opens a socket channel for an Internet protocol socket.Opens a socket channel.Opens a socket channel and connects it to a remote address.
abstract <T> SocketChannelSocketChannel.
shutdownInput()Shutdown the connection for reading without closing the channel.SocketChannel.
shutdownOutput()Shutdown the connection for writing without closing the channel.
Uses of SocketChannel in java.nio.channels.spi