public class SniffyServerSocketChannel extends ServerSocketChannel implements sun.nio.ch.SelChImpl, SelectableChannelWrapper<ServerSocketChannel>
| Constructor and Description |
|---|
SniffyServerSocketChannel(SelectorProvider provider,
ServerSocketChannel delegate) |
| Modifier and Type | Method and Description |
|---|---|
SocketChannel |
accept() |
ServerSocketChannel |
bind(SocketAddress local,
int backlog) |
ServerSocketChannel |
getDelegate() |
FileDescriptor |
getFD() |
int |
getFDVal() |
SocketAddress |
getLocalAddress() |
<T> T |
getOption(SocketOption<T> name) |
void |
implCloseSelectableChannel() |
void |
implConfigureBlocking(boolean block) |
void |
kill() |
void |
park(int event) |
void |
park(int event,
long nanos) |
<T> ServerSocketChannel |
setOption(SocketOption<T> name,
T value) |
ServerSocket |
socket() |
Set<SocketOption<?>> |
supportedOptions() |
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) |
bind, open, validOpsblockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerregisterbegin, close, end, isOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic SniffyServerSocketChannel(SelectorProvider provider, ServerSocketChannel delegate)
public ServerSocketChannel getDelegate()
getDelegate in interface SelectableChannelWrapper<ServerSocketChannel>@IgnoreJRERequirement public ServerSocketChannel bind(SocketAddress local, int backlog) throws IOException
bind in class ServerSocketChannelIOException@IgnoreJRERequirement public <T> ServerSocketChannel setOption(SocketOption<T> name, T value) throws IOException
setOption in interface NetworkChannelsetOption in class ServerSocketChannelIOExceptionpublic ServerSocket socket()
socket in class ServerSocketChannelpublic SocketChannel accept() throws IOException
accept in class ServerSocketChannelIOException@IgnoreJRERequirement public SocketAddress getLocalAddress() throws IOException
getLocalAddress in interface NetworkChannelgetLocalAddress in class ServerSocketChannelIOExceptionpublic void implCloseSelectableChannel()
implCloseSelectableChannel in class AbstractSelectableChannelpublic void implConfigureBlocking(boolean block)
implConfigureBlocking in class AbstractSelectableChannel@IgnoreJRERequirement public <T> T getOption(SocketOption<T> name) throws IOException
getOption in interface NetworkChannelIOException@IgnoreJRERequirement public Set<SocketOption<?>> supportedOptions()
supportedOptions in interface NetworkChannelpublic 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.