public class SniffySelectorProvider extends SelectorProvider
| Constructor and Description |
|---|
SniffySelectorProvider(SelectorProvider delegate) |
| Modifier and Type | Method and Description |
|---|---|
Channel |
inheritedChannel() |
static boolean |
install() |
DatagramChannel |
openDatagramChannel() |
DatagramChannel |
openDatagramChannel(ProtocolFamily family) |
Pipe |
openPipe() |
AbstractSelector |
openSelector() |
ServerSocketChannel |
openServerSocketChannel() |
ServerSocketChannel |
openServerSocketChannel(ProtocolFamily family) |
SocketChannel |
openSocketChannel() |
SocketChannel |
openSocketChannel(ProtocolFamily family) |
static boolean |
uninstall() |
providerpublic SniffySelectorProvider(SelectorProvider delegate)
public static boolean install()
public static boolean uninstall()
public DatagramChannel openDatagramChannel() throws IOException
openDatagramChannel in class SelectorProviderIOException@IgnoreJRERequirement public DatagramChannel openDatagramChannel(ProtocolFamily family) throws IOException
openDatagramChannel in class SelectorProviderIOExceptionpublic Pipe openPipe() throws IOException
openPipe in class SelectorProviderIOExceptionpublic AbstractSelector openSelector() throws IOException
openSelector in class SelectorProviderIOExceptionpublic ServerSocketChannel openServerSocketChannel() throws IOException
openServerSocketChannel in class SelectorProviderIOException - on underlying IOExceptionpublic SocketChannel openSocketChannel() throws IOException
openSocketChannel in class SelectorProviderIOException - on underlying IOExceptionpublic Channel inheritedChannel() throws IOException
inheritedChannel in class SelectorProviderIOExceptionpublic SocketChannel openSocketChannel(ProtocolFamily family) throws IOException
IOExceptionpublic ServerSocketChannel openServerSocketChannel(ProtocolFamily family) throws IOException
IOExceptionCopyright © 2021. All rights reserved.