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

Class Pipe.SourceChannel

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

All Implemented Interfaces:

ReadableByteChannel, ScatteringByteChannel, Channel, InterruptibleChannel


public static abstract class Pipe.SourceChannel

extends AbstractSelectableChannel

implements ReadableByteChannel, ScatteringByteChannel

Constructor Summary

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

Initializes the channel.

Method Summary

intvalidOps()

Returns an operation set that is valid on this channel.

Constructor Details

SourceChannel

protected SourceChannel(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_READ.