java.nio.channels

Class Pipe.SinkChannel

public abstract static class Pipe.SinkChannel extends AbstractSelectableChannel implements WritableByteChannel, GatheringByteChannel

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

Constructor Detail

SinkChannel

protected SinkChannel(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_WRITE.