public final class NativeSelectorProvider extends SelectorProvider
| Constructor and Description |
|---|
NativeSelectorProvider() |
| Modifier and Type | Method and Description |
|---|---|
static SelectorProvider |
getInstance() |
DatagramChannel |
openDatagramChannel() |
DatagramChannel |
openDatagramChannel(ProtocolFamily family) |
Pipe |
openPipe() |
AbstractSelector |
openSelector() |
ServerSocketChannel |
openServerSocketChannel() |
SocketChannel |
openSocketChannel() |
inheritedChannel, providerpublic static final SelectorProvider getInstance()
public DatagramChannel openDatagramChannel() throws IOException
openDatagramChannel in class SelectorProviderIOExceptionpublic 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 SelectorProviderIOExceptionpublic SocketChannel openSocketChannel() throws IOException
openSocketChannel in class SelectorProviderIOExceptionCopyright © 2015. All Rights Reserved.