Package java.nio
Class SelectorProviderImpl
java.lang.Object
java.nio.channels.spi.SelectorProvider
java.nio.SelectorProviderImpl
public final class SelectorProviderImpl extends SelectorProvider
-
Constructor Summary
Constructors Constructor Description SelectorProviderImpl() -
Method Summary
Modifier and Type Method Description DatagramChannelopenDatagramChannel()Creates a new openDatagramChannel.PipeopenPipe()Creates a newPipe.AbstractSelectoropenSelector()Creates a new selector.ServerSocketChannelopenServerSocketChannel()Creates a new openServerSocketChannel.SocketChannelopenSocketChannel()Create a new openSocketChannel.Methods inherited from class java.nio.channels.spi.SelectorProvider
inheritedChannel, provider
-
Constructor Details
-
SelectorProviderImpl
public SelectorProviderImpl()
-
-
Method Details
-
openDatagramChannel
Description copied from class:SelectorProviderCreates a new openDatagramChannel.- Specified by:
openDatagramChannelin classSelectorProvider- Returns:
- the new channel.
- Throws:
IOException- if an I/O error occurs.
-
openPipe
Description copied from class:SelectorProviderCreates a newPipe.- Specified by:
openPipein classSelectorProvider- Returns:
- the new pipe.
- Throws:
IOException- if an I/O error occurs.
-
openSelector
Description copied from class:SelectorProviderCreates a new selector.- Specified by:
openSelectorin classSelectorProvider- Returns:
- the new selector.
- Throws:
IOException- if an I/O error occurs.
-
openServerSocketChannel
Description copied from class:SelectorProviderCreates a new openServerSocketChannel.- Specified by:
openServerSocketChannelin classSelectorProvider- Returns:
- the new channel.
- Throws:
IOException- if an I/O error occurs.
-
openSocketChannel
Description copied from class:SelectorProviderCreate a new openSocketChannel.- Specified by:
openSocketChannelin classSelectorProvider- Returns:
- the new channel.
- Throws:
IOException- if an I/O error occurs.
-