Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
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. |
Uses of AsynchronousSocketChannel in java.nio.channels |
---|
Modifier and Type | Method and 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
|
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 and Description |
---|---|
abstract Future<AsynchronousSocketChannel> |
AsynchronousServerSocketChannel.accept()
Accepts a connection. |
Modifier and Type | Method and Description | |
---|---|---|
abstract
|
AsynchronousServerSocketChannel.accept(A attachment,
CompletionHandler<AsynchronousSocketChannel,? super A> handler)
Accepts a connection. |
Uses of AsynchronousSocketChannel in java.nio.channels.spi |
---|
Modifier and Type | Method and Description |
---|---|
abstract AsynchronousSocketChannel |
AsynchronousChannelProvider.openAsynchronousSocketChannel(AsynchronousChannelGroup group)
Opens an asynchronous socket channel. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.