クラス
java.nio.channels.AsynchronousSocketChannelの使用
-
AsynchronousSocketChannelを使用しているパッケージ パッケージ 説明 java.nio.channels 入出力操作を実行できるエンティティ(ファイル、ソケットなど)への接続を表すチャネルや、多重化された非ブロック入出力操作用のセレクタを定義します。java.nio.channels.spi java.nio.channels
パッケージのサービス・プロバイダ・クラス。 -
-
java.nio.channelsでのAsynchronousSocketChannelの使用
AsynchronousSocketChannelを返すjava.nio.channelsのメソッド 修飾子と型 メソッド 説明 abstract AsynchronousSocketChannel
AsynchronousSocketChannel. bind(SocketAddress local)
static AsynchronousSocketChannel
AsynchronousSocketChannel. open()
非同期のソケット・チャネルを開きます。static AsynchronousSocketChannel
AsynchronousSocketChannel. open(AsynchronousChannelGroup group)
非同期のソケット・チャネルを開きます。abstract <T> AsynchronousSocketChannel
AsynchronousSocketChannel. setOption(SocketOption<T> name, T value)
abstract AsynchronousSocketChannel
AsynchronousSocketChannel. shutdownInput()
チャネルを閉じずに読み込むための接続をシャットダウンします。abstract AsynchronousSocketChannel
AsynchronousSocketChannel. shutdownOutput()
チャネルを閉じずに書き込むための接続をシャットダウンします。AsynchronousSocketChannel型の引数を持つ型を返すjava.nio.channelsのメソッド 修飾子と型 メソッド 説明 abstract Future<AsynchronousSocketChannel>
AsynchronousServerSocketChannel. accept()
接続を受け入れます。AsynchronousSocketChannel型の型引数を持つjava.nio.channelsのメソッド・パラメータ 修飾子と型 メソッド 説明 abstract <A> void
AsynchronousServerSocketChannel. accept(A attachment, CompletionHandler<AsynchronousSocketChannel,? super A> handler)
接続を受け入れます。 -
java.nio.channels.spiでのAsynchronousSocketChannelの使用
AsynchronousSocketChannelを返すjava.nio.channels.spiのメソッド 修飾子と型 メソッド 説明 abstract AsynchronousSocketChannel
AsynchronousChannelProvider. openAsynchronousSocketChannel(AsynchronousChannelGroup group)
非同期のソケット・チャネルを開きます。
-