Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.nio.channels

Class Pipe.SinkChannel

java.lang.Object
|
+--java.nio.channels.spi.AbstractInterruptibleChannel
   |
   +--java.nio.channels.SelectableChannel
      |
      +--java.nio.channels.spi.AbstractSelectableChannel
         |
         +--java.nio.channels.Pipe.SinkChannel

All Implemented Interfaces:

WritableByteChannel, GatheringByteChannel, Channel, InterruptibleChannel


public static abstract class Pipe.SinkChannel

extends AbstractSelectableChannel

implements WritableByteChannel, GatheringByteChannel

Since:Author:

Constructor Summary

SinkChannel(java.nio.channels.spi.SelectorProvider provider)

Initializes the channel.

Method Summary

intvalidOps()

Returns an operation set that is valid on this channel.

Constructor Details

SinkChannel

protected SinkChannel(java.nio.channels.spi.SelectorProvider provider)

Initializes the channel.

Parameters:


Method Details

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.