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, provider
public static final SelectorProvider getInstance()
public DatagramChannel openDatagramChannel() throws IOException
openDatagramChannel
in class SelectorProvider
IOException
public DatagramChannel openDatagramChannel(ProtocolFamily family) throws IOException
openDatagramChannel
in class SelectorProvider
IOException
public Pipe openPipe() throws IOException
openPipe
in class SelectorProvider
IOException
public AbstractSelector openSelector() throws IOException
openSelector
in class SelectorProvider
IOException
public ServerSocketChannel openServerSocketChannel() throws IOException
openServerSocketChannel
in class SelectorProvider
IOException
public SocketChannel openSocketChannel() throws IOException
openSocketChannel
in class SelectorProvider
IOException
Copyright © 2018. All rights reserved.