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

A channel representing the writable end of a Pipe .

Fields inherited from java.nio.channels.spi.AbstractSelectableChannel:
blocking
Constructor:
 protected SinkChannel(SelectorProvider provider) 
    Initializes a new instance of this class.
Method from java.nio.channels.Pipe$SinkChannel 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$SinkChannel Detail:
 public final int validOps() 
    Returns an operation set identifying this channel's supported operations.

    Pipe-sink channels only support writing, so this method returns SelectionKey#OP_WRITE .