Closeable
AutoCloseable
Channel
InterruptibleChannel
ReadableByteChannel
ScatteringByteChannel
public abstract static class Pipe.SourceChannel extends AbstractSelectableChannel implements ReadableByteChannel, ScatteringByteChannel
Pipe
protected SourceChannel​(SelectorProvider provider)
provider
public final int validOps()
Pipe-source channels only support reading, so this method returns SelectionKey.OP_READ.
SelectionKey.OP_READ
validOps
SelectableChannel
© 2019 Oracle Corporation and/or its affiliates