クラスPipe.SinkChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
java.nio.channels.spi.AbstractSelectableChannel
java.nio.channels.Pipe.SinkChannel
- すべての実装されたインタフェース:
Closeable, AutoCloseable, Channel, GatheringByteChannel, InterruptibleChannel, WritableByteChannel
- 含まれているクラス:
Pipe
public abstract static class Pipe.SinkChannel extends AbstractSelectableChannel implements WritableByteChannel, GatheringByteChannel
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インタフェースで宣言されたメソッド GatheringByteChannel
write, writeインタフェースで宣言されたメソッド WritableByteChannel
write
-
コンストラクタの詳細
-
SinkChannel
protected SinkChannel(SelectorProvider provider) このクラスの新しいインスタンスを初期化します。- パラメータ:
provider- セレクタ・プロバイダ
-
-
メソッドの詳細
-
validOps
public final int validOps()このチャネルのサポートされている操作を識別する操作セットを返します。パイプ受信チャネルがサポートするのは書込みのみのため、このメソッドは
SelectionKey.OP_WRITEを返します。- 定義:
validOps、クラスSelectableChannel- 戻り値:
- 有効な操作セット
-