public abstract static class Pipe.SinkChannel extends AbstractSelectableChannelimplements WritableByteChannel , GatheringByteChannel
Pipe.
| Modifier | Constructor and Description |
|---|---|
protected |
SinkChannel(SelectorProvider
Initializes a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
validOps()
Returns an operation set identifying this channel's supported operations.
|
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, registerregisterbegin, close, end, isOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrite, writewriteprotected SinkChannel(SelectorProviderprovider)
provider - The selector provider
public final int validOps()
Pipe-sink channels only support writing, so this method returns SelectionKey.
validOps in class
SelectableChannel