- java.lang.Object
-
- java.nio.channels.spi.SelectorProvider
-
- jnr.enxio.channels.NativeFileSelectorProvider
-
public final class NativeFileSelectorProvider extends SelectorProvider
-
-
Constructor Summary
Constructors Constructor Description NativeFileSelectorProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SelectorProvidergetInstance()DatagramChannelopenDatagramChannel()DatagramChannelopenDatagramChannel(ProtocolFamily family)PipeopenPipe()AbstractSelectoropenSelector()ServerSocketChannelopenServerSocketChannel()SocketChannelopenSocketChannel()-
Methods inherited from class java.nio.channels.spi.SelectorProvider
inheritedChannel, provider
-
-
-
-
Method Detail
-
getInstance
public static final SelectorProvider getInstance()
-
openDatagramChannel
public DatagramChannel openDatagramChannel() throws IOException
- Specified by:
openDatagramChannelin classSelectorProvider- Throws:
IOException
-
openDatagramChannel
public DatagramChannel openDatagramChannel(ProtocolFamily family) throws IOException
- Specified by:
openDatagramChannelin classSelectorProvider- Throws:
IOException
-
openPipe
public Pipe openPipe() throws IOException
- Specified by:
openPipein classSelectorProvider- Throws:
IOException
-
openSelector
public AbstractSelector openSelector() throws IOException
- Specified by:
openSelectorin classSelectorProvider- Throws:
IOException
-
openServerSocketChannel
public ServerSocketChannel openServerSocketChannel() throws IOException
- Specified by:
openServerSocketChannelin classSelectorProvider- Throws:
IOException
-
openSocketChannel
public SocketChannel openSocketChannel() throws IOException
- Specified by:
openSocketChannelin classSelectorProvider- Throws:
IOException
-
-