|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by java.nio.channels.spi.AbstractInterruptibleChannel extended by java.nio.channels.SelectableChannel extended by java.nio.channels.spi.AbstractSelectableChannel extended by java.nio.channels.Pipe.SinkChannel
public abstract static class Pipe.SinkChannel
A channel representing the writable end of a Pipe
.
Constructor Summary | |
---|---|
protected |
Pipe.SinkChannel(SelectorProvider provider)
Initializes a new instance of this class. |
Method Summary | |
---|---|
int |
validOps()
Returns an operation set identifying this channel's supported operations. |
Methods inherited from class java.nio.channels.spi.AbstractSelectableChannel |
---|
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, register |
Methods inherited from class java.nio.channels.SelectableChannel |
---|
register |
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel |
---|
begin, close, end, isOpen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.nio.channels.GatheringByteChannel |
---|
write, write |
Constructor Detail |
---|
protected Pipe.SinkChannel(SelectorProvider provider)
Method Detail |
---|
public final int validOps()
Pipe-sink channels only support writing, so this method returns
SelectionKey.OP_WRITE
.
validOps
in class SelectableChannel
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.