public abstract static class Pipe.SourceChannel extends AbstractSelectableChannel implements ReadableByteChannel, ScatteringByteChannel
Pipeの読取り可能な終端を表すチャネルです。| 修飾子 | コンストラクタ | 説明 |
|---|---|---|
protected |
SourceChannel(SelectorProvider provider) |
このクラスの新しいインスタンスを構築します。
|
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
int |
validOps() |
このチャネルのサポートされている操作を識別する操作セットを返します。
|
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, registerregisterbegin, close, end, isOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, readreadprotected SourceChannel(SelectorProvider provider)
provider - セレクタ・プロバイダpublic final int validOps()
パイプソース・チャネルがサポートするのは読取りのみのため、このメソッドはSelectionKey.OP_READを返します。
validOps、クラスSelectableChannel バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。