Uses of Class
java.nio.channels.SocketChannel
| Package | Description |
|---|---|
| java.net | |
| java.nio | |
| java.nio.channels | |
| java.nio.channels.spi |
-
Uses of SocketChannel in java.net
Methods in java.net that return SocketChannel Modifier and Type Method Description SocketChannelSocket. getChannel()Returns this socket'sSocketChannel, if one exists. -
Uses of SocketChannel in java.nio
Methods in java.nio that return SocketChannel Modifier and Type Method Description SocketChannelSelectorProviderImpl. openSocketChannel() -
Uses of SocketChannel in java.nio.channels
Methods in java.nio.channels that return SocketChannel Modifier and Type Method Description abstract SocketChannelServerSocketChannel. accept()Accepts a connection to this server-socket channel.static SocketChannelSocketChannel. open()Creates an open and unconnected socket channel.static SocketChannelSocketChannel. open(SocketAddress address)Creates a socket channel and connects it to a socket address. -
Uses of SocketChannel in java.nio.channels.spi
Methods in java.nio.channels.spi that return SocketChannel Modifier and Type Method Description abstract SocketChannelSelectorProvider. openSocketChannel()Create a new openSocketChannel.