public static class SniffyPipe.SniffySourceChannel extends Pipe.SourceChannel implements sun.nio.ch.SelChImpl
| Constructor and Description |
|---|
SniffySourceChannel(SelectorProvider provider,
Pipe.SourceChannel 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) |
int |
read(ByteBuffer dst) |
long |
read(ByteBuffer[] dsts) |
long |
read(ByteBuffer[] dsts,
int offset,
int length) |
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) |
validOpsblockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerregisterbegin, close, end, isOpenpublic SniffySourceChannel(SelectorProvider provider, Pipe.SourceChannel delegate)
public void implCloseSelectableChannel()
implCloseSelectableChannel in class AbstractSelectableChannelpublic void implConfigureBlocking(boolean block)
implConfigureBlocking in class AbstractSelectableChannelpublic int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionpublic long read(ByteBuffer[] dsts, int offset, int length) throws IOException
read in interface ScatteringByteChannelIOExceptionpublic long read(ByteBuffer[] dsts) throws IOException
read in interface ScatteringByteChannelIOExceptionpublic 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.