クラス
java.nio.channels.ServerSocketChannelの使用
-
ServerSocketChannelを使用しているパッケージ パッケージ 説明 java.net ネットワーク・アプリケーションを実装するためのクラスを提供します。java.nio.channels 入出力操作を実行できるエンティティ(ファイル、ソケットなど)への接続を表すチャネルや、多重化された非ブロック入出力操作用のセレクタを定義します。java.nio.channels.spi java.nio.channels
パッケージのサービス・プロバイダ・クラス。 -
-
java.netでのServerSocketChannelの使用
ServerSocketChannelを返すjava.netのメソッド 修飾子と型 メソッド 説明 ServerSocketChannel
ServerSocket. getChannel()
このソケットに関連付けられた一意のServerSocketChannel
オブジェクトを返します(存在する場合)。 -
java.nio.channelsでのServerSocketChannelの使用
ServerSocketChannelを返すjava.nio.channelsのメソッド 修飾子と型 メソッド 説明 ServerSocketChannel
ServerSocketChannel. bind(SocketAddress local)
チャネルのソケットをローカル・アドレスにバインドし、接続を待機するようソケットを構成します。abstract ServerSocketChannel
ServerSocketChannel. bind(SocketAddress local, int backlog)
チャネルのソケットをローカル・アドレスにバインドし、接続を待機するようソケットを構成します。static ServerSocketChannel
ServerSocketChannel. open()
サーバー・ソケット・チャネルをオープンします。abstract <T> ServerSocketChannel
ServerSocketChannel. setOption(SocketOption<T> name, T value)
-
java.nio.channels.spiでのServerSocketChannelの使用
ServerSocketChannelを返すjava.nio.channels.spiのメソッド 修飾子と型 メソッド 説明 abstract ServerSocketChannel
SelectorProvider. openServerSocketChannel()
サーバー・ソケット・チャネルをオープンします。
-