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
-
构造方法总结
构造方法 -
方法总结
在类 java.nio.channels.spi.AbstractSelectableChannel 中声明的方法
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, register在类 java.nio.channels.SelectableChannel 中声明的方法
register在类 java.nio.channels.spi.AbstractInterruptibleChannel 中声明的方法
begin, close, end, isOpen在类 java.lang.Object 中声明的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait在接口 java.nio.channels.ReadableByteChannel 中声明的方法
read在接口 java.nio.channels.ScatteringByteChannel 中声明的方法
read, read
-
构造方法详细信息
-
SourceChannel
构造此类的新实例。- 参数:
provider- 选择器提供者
-
-
方法详情
-
validOps
public final int validOps()返回标识此通道支持的操作的操作集。管道源通道只支持读取,所以该方法返回
SelectionKey.OP_READ。- 指定者:
validOps在类SelectableChannel中- 返回:
- 有效操作集
-