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 | Description |
---|---|---|
abstract AsynchronousSocketChannel |
AsynchronousSocketChannel.bind(SocketAddress local) |
|
static AsynchronousSocketChannel |
AsynchronousSocketChannel.open() |
Opens an asynchronous socket channel.
|
static AsynchronousSocketChannel |
AsynchronousSocketChannel.open(AsynchronousChannelGroup group) |
Opens an asynchronous socket channel.
|
abstract <T> AsynchronousSocketChannel |
AsynchronousSocketChannel.setOption(SocketOption<T> name,
T value) |
|
abstract AsynchronousSocketChannel |
AsynchronousSocketChannel.shutdownInput() |
Shutdown the connection for reading without closing the channel.
|
abstract AsynchronousSocketChannel |
AsynchronousSocketChannel.shutdownOutput() |
Shutdown the connection for writing without closing the channel.
|
Modifier and Type | Method | Description |
---|---|---|
abstract Future<AsynchronousSocketChannel> |
AsynchronousServerSocketChannel.accept() |
Accepts a connection.
|
Modifier and Type | Method | Description |
---|---|---|
abstract <A> void |
AsynchronousServerSocketChannel.accept(A attachment,
CompletionHandler<AsynchronousSocketChannel,? super A> handler) |
Accepts a connection.
|
Modifier and Type | Method | Description |
---|---|---|
abstract AsynchronousSocketChannel |
AsynchronousChannelProvider.openAsynchronousSocketChannel(AsynchronousChannelGroup group) |
Opens an asynchronous socket channel.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps