jnr.enxio.channels
Class NativeSelectorProvider
java.lang.Object
java.nio.channels.spi.SelectorProvider
jnr.enxio.channels.NativeSelectorProvider
public final class NativeSelectorProvider
- extends SelectorProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativeSelectorProvider
public NativeSelectorProvider()
getInstance
public static final SelectorProvider getInstance()
openDatagramChannel
public DatagramChannel openDatagramChannel()
throws IOException
- Specified by:
openDatagramChannel in class SelectorProvider
- Throws:
IOException
openDatagramChannel
public DatagramChannel openDatagramChannel(ProtocolFamily family)
throws IOException
- Throws:
IOException
openPipe
public Pipe openPipe()
throws IOException
- Specified by:
openPipe in class SelectorProvider
- Throws:
IOException
openSelector
public AbstractSelector openSelector()
throws IOException
- Specified by:
openSelector in class SelectorProvider
- Throws:
IOException
openServerSocketChannel
public ServerSocketChannel openServerSocketChannel()
throws IOException
- Specified by:
openServerSocketChannel in class SelectorProvider
- Throws:
IOException
openSocketChannel
public SocketChannel openSocketChannel()
throws IOException
- Specified by:
openSocketChannel in class SelectorProvider
- Throws:
IOException
Copyright © 2013. All Rights Reserved.