java.nio.channels

Class Pipe.SourceChannel

public abstract static class Pipe.SourceChannel extends AbstractSelectableChannel implements ReadableByteChannel, ScatteringByteChannel

Constructor Summary
protected SourceChannel(SelectorProvider provider)
Initializes the channel.
Method Summary
intvalidOps()
Returns an operation set that is valid on this channel.

Constructor Detail

SourceChannel

protected SourceChannel(SelectorProvider provider)
Initializes the channel.

Method Detail

validOps

public final int validOps()
Returns an operation set that is valid on this channel. The only valid operation on this channel is @see SelectionKey.OP_READ.