インタフェース
java.nio.channels.AsynchronousByteChannelの使用
-
AsynchronousByteChannelを使用しているパッケージ パッケージ 説明 java.nio.channels 入出力操作を実行できるエンティティ(ファイル、ソケットなど)への接続を表すチャネルや、多重化された非ブロック入出力操作用のセレクタを定義します。 -
-
java.nio.channelsでのAsynchronousByteChannelの使用
AsynchronousByteChannelを実装しているjava.nio.channelsのクラス 修飾子と型 クラス 説明 class
AsynchronousSocketChannel
ストリーム型接続ソケット用の非同期チャネルです。AsynchronousByteChannel型のパラメータを持つjava.nio.channelsのメソッド 修飾子と型 メソッド 説明 static InputStream
Channels. newInputStream(AsynchronousByteChannel ch)
指定されたチャネルからバイトを読み取るストリームを構築します。static OutputStream
Channels. newOutputStream(AsynchronousByteChannel ch)
指定されたチャネルへバイトを書き込むストリームを構築します。
-