| Package | Description |
|---|---|
| java.nio.channels |
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.
|
| java.nio.channels.spi |
Service-provider classes for the
java.nio.channels package.
|
| Modifier and Type | Method and Description |
|---|---|
AsynchronousServerSocketChannel |
AsynchronousServerSocketChannel.bind(SocketAddress
Binds the channel's socket to a local address and configures the socket to listen for connections.
|
abstract AsynchronousServerSocketChannel |
AsynchronousServerSocketChannel.bind(SocketAddress
Binds the channel's socket to a local address and configures the socket to listen for connections.
|
static AsynchronousServerSocketChannel |
AsynchronousServerSocketChannel.open()
Opens an asynchronous server-socket channel.
|
static AsynchronousServerSocketChannel |
AsynchronousServerSocketChannel.open(AsynchronousChannelGroup
Opens an asynchronous server-socket channel.
|
abstract <T> AsynchronousServerSocketChannel |
AsynchronousServerSocketChannel.setOption(SocketOption
|
| Modifier and Type | Method and Description |
|---|---|
abstract AsynchronousServerSocketChannel |
AsynchronousChannelProvider.openAsynchronousServerSocketChannel(AsynchronousChannelGroup
Opens an asynchronous server-socket channel.
|