|
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.SourceChannel
public abstract static class Pipe.SourceChannel
A channel representing the readable end of a Pipe.
| Constructor Summary | |
|---|---|
protected |
Pipe.SourceChannel(SelectorProvider provider)
Constructs 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.ScatteringByteChannel |
|---|
read, read |
| Constructor Detail |
|---|
protected Pipe.SourceChannel(SelectorProvider provider)
| Method Detail |
|---|
public final int validOps()
Pipe-source channels only support reading, so this method
returns SelectionKey.OP_READ.
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.