| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AsynchronousSocketChannel
An asynchronous channel for stream-oriented connecting sockets.
|
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
Channels.newInputStream(AsynchronousByteChannel
Constructs a stream that reads bytes from the given channel.
|
static OutputStream |
Channels.newOutputStream(AsynchronousByteChannel
Constructs a stream that writes bytes to the given channel.
|