public static class SniffyPipe.SniffySinkChannel extends Pipe.SinkChannel implements sun.nio.ch.SelChImpl
| Constructor and Description |
|---|
SniffySinkChannel(SelectorProvider provider,
Pipe.SinkChannel delegate) |
| Modifier and Type | Method and Description |
|---|---|
FileDescriptor |
getFD() |
int |
getFDVal() |
void |
implCloseSelectableChannel() |
void |
implConfigureBlocking(boolean block) |
void |
kill() |
void |
park(int event) |
void |
park(int event,
long nanos) |
void |
translateAndSetInterestOps(int ops,
sun.nio.ch.SelectionKeyImpl sk) |
boolean |
translateAndSetReadyOps(int ops,
sun.nio.ch.SelectionKeyImpl ski) |
boolean |
translateAndUpdateReadyOps(int ops,
sun.nio.ch.SelectionKeyImpl ski) |
int |
translateInterestOps(int ops) |
int |
write(ByteBuffer src) |
long |
write(ByteBuffer[] srcs) |
long |
write(ByteBuffer[] srcs,
int offset,
int length) |
validOpsblockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerregisterbegin, close, end, isOpenpublic SniffySinkChannel(SelectorProvider provider, Pipe.SinkChannel delegate)
public void implCloseSelectableChannel()
implCloseSelectableChannel in class AbstractSelectableChannelpublic void implConfigureBlocking(boolean block)
implConfigureBlocking in class AbstractSelectableChannelpublic long write(ByteBuffer[] srcs, int offset, int length) throws IOException
write in interface GatheringByteChannelIOExceptionpublic long write(ByteBuffer[] srcs) throws IOException
write in interface GatheringByteChannelIOExceptionpublic int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelIOExceptionpublic FileDescriptor getFD()
getFD in interface sun.nio.ch.SelChImplpublic int getFDVal()
getFDVal in interface sun.nio.ch.SelChImplpublic boolean translateAndUpdateReadyOps(int ops,
sun.nio.ch.SelectionKeyImpl ski)
translateAndUpdateReadyOps in interface sun.nio.ch.SelChImplpublic boolean translateAndSetReadyOps(int ops,
sun.nio.ch.SelectionKeyImpl ski)
translateAndSetReadyOps in interface sun.nio.ch.SelChImplpublic void kill()
throws IOException
kill in interface sun.nio.ch.SelChImplIOExceptionpublic void translateAndSetInterestOps(int ops,
sun.nio.ch.SelectionKeyImpl sk)
translateAndSetInterestOps in interface sun.nio.ch.SelChImplpublic int translateInterestOps(int ops)
public void park(int event,
long nanos)
throws IOException
IOExceptionpublic void park(int event)
throws IOException
IOExceptionCopyright © 2021. All rights reserved.