クラスPipe.SourceChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
java.nio.channels.spi.AbstractSelectableChannel
java.nio.channels.Pipe.SourceChannel
- すべての実装されたインタフェース:
Closeable, AutoCloseable, Channel, InterruptibleChannel, ReadableByteChannel, ScatteringByteChannel
- 含まれているクラス:
Pipe
public abstract static class Pipe.SourceChannel extends AbstractSelectableChannel implements ReadableByteChannel, ScatteringByteChannel
Pipeの読取り可能な終端を表すチャネルです。- 導入されたバージョン:
- 1.4
-
コンストラクタのサマリー
コンストラクタ -
メソッドのサマリー
クラスで宣言されたメソッド AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, registerクラスで宣言されたメソッド SelectableChannel
registerクラスで宣言されたメソッド AbstractInterruptibleChannel
begin, close, end, isOpenクラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースで宣言されたメソッド ReadableByteChannel
readインタフェースで宣言されたメソッド ScatteringByteChannel
read, read
-
コンストラクタの詳細
-
SourceChannel
protected SourceChannel(SelectorProvider provider) このクラスの新しいインスタンスを構築します。- パラメータ:
provider- セレクタ・プロバイダ
-
-
メソッドの詳細
-
validOps
public final int validOps()このチャネルのサポートされている操作を識別する操作セットを返します。パイプソース・チャネルがサポートするのは読取りのみのため、このメソッドは
SelectionKey.OP_READを返します。- 定義:
validOps、クラスSelectableChannel- 戻り値:
- 有効な操作セット
-