Save This Page
Home » openjdk-7 » java » nio » channels » [javadoc | source]
java.nio.channels
abstract public static class: Pipe.SourceChannel [javadoc | source]
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

A channel representing the readable end of a Pipe .

Fields inherited from java.nio.channels.spi.AbstractSelectableChannel:
blocking
Constructor:
 protected SourceChannel(SelectorProvider provider) 
    Constructs a new instance of this class.
Method from java.nio.channels.Pipe$SourceChannel Summary:
validOps
Methods from java.nio.channels.spi.AbstractSelectableChannel:
blockingLock,   configureBlocking,   implCloseChannel,   implCloseSelectableChannel,   implConfigureBlocking,   isBlocking,   isRegistered,   keyFor,   provider,   register,   removeKey
Methods from java.nio.channels.SelectableChannel:
blockingLock,   configureBlocking,   isBlocking,   isRegistered,   keyFor,   provider,   register,   register,   validOps
Methods from java.nio.channels.spi.AbstractInterruptibleChannel:
begin,   blockedOn,   close,   end,   implCloseChannel,   isOpen
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.nio.channels.Pipe$SourceChannel Detail:
 public final int validOps() 
    Returns an operation set identifying this channel's supported operations.

    Pipe-source channels only support reading, so this method returns SelectionKey#OP_READ .