クラス
java.nio.channels.AsynchronousServerSocketChannelの使用
| パッケージ | 説明 |
|---|---|
| java.nio.channels |
入出力操作を実行できるエンティティ(ファイル、ソケットなど)への接続を表すチャネルや、多重化された非ブロック入出力操作用のセレクタを定義します。
|
| java.nio.channels.spi |
java.nio.channelsパッケージのサービス・プロバイダ・クラス。 |
-
java.nio.channelsでのAsynchronousServerSocketChannelの使用
AsynchronousServerSocketChannelを返すjava.nio.channelsのメソッド 修飾子と型 メソッド 説明 AsynchronousServerSocketChannelAsynchronousServerSocketChannel. bind(SocketAddress local)チャネルのソケットをローカル・アドレスにバインドし、接続を待機するようソケットを構成します。abstract AsynchronousServerSocketChannelAsynchronousServerSocketChannel. bind(SocketAddress local, int backlog)チャネルのソケットをローカル・アドレスにバインドし、接続を待機するようソケットを構成します。static AsynchronousServerSocketChannelAsynchronousServerSocketChannel. open()非同期のサーバー・ソケット・チャネルを開きます。static AsynchronousServerSocketChannelAsynchronousServerSocketChannel. open(AsynchronousChannelGroup group)非同期のサーバー・ソケット・チャネルを開きます。abstract <T> AsynchronousServerSocketChannelAsynchronousServerSocketChannel. setOption(SocketOption<T> name, T value) -
java.nio.channels.spiでのAsynchronousServerSocketChannelの使用
AsynchronousServerSocketChannelを返すjava.nio.channels.spiのメソッド 修飾子と型 メソッド 説明 abstract AsynchronousServerSocketChannelAsynchronousChannelProvider. openAsynchronousServerSocketChannel(AsynchronousChannelGroup group)非同期のサーバー・ソケット・チャネルを開きます。