APIdia Launch Partner
Top Constructors Methods
sun.nio.ch

public abstract Class SelectorProviderImpl

extends SelectorProvider
Class Inheritance
Known Direct Subclasses
sun.nio.ch.EPollSelectorProvider, sun.nio.ch.PollSelectorProvider
Imports
java.io.IOException, java.net.ProtocolFamily, java.nio.channels.DatagramChannel, .Pipe, .ServerSocketChannel, .SocketChannel, java.nio.channels.spi.AbstractSelector, .SelectorProvider, java.util.Objects

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public DatagramChannel
public DatagramChannel
public Pipe
openPipe()

Implements abstract java.nio.channels.spi.SelectorProvider.openPipe.

Opens a pipe.

public abstract AbstractSelector
openSelector()

Implements abstract java.nio.channels.spi.SelectorProvider.openSelector.

Opens a selector.

public ServerSocketChannel
public ServerSocketChannel
public SocketChannel
public SocketChannel
public DatagramChannel
openUninterruptibleDatagramChannel()

SelectorProviderImpl specific method to create a DatagramChannel that is not interruptible.

Inherited from java.nio.channels.spi.SelectorProvider:
inheritedChannelprovider

Constructor Detail

SelectorProviderImplback to summary
public SelectorProviderImpl()

Method Detail

openDatagramChannelback to summary
public DatagramChannel openDatagramChannel() throws IOException

Implements abstract java.nio.channels.spi.SelectorProvider.openDatagramChannel.

Doc from java.nio.channels.spi.SelectorProvider.openDatagramChannel.

Opens a datagram channel.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
openDatagramChannelback to summary
public DatagramChannel openDatagramChannel(ProtocolFamily family) throws IOException

Implements abstract java.nio.channels.spi.SelectorProvider.openDatagramChannel.

Doc from java.nio.channels.spi.SelectorProvider.openDatagramChannel.

Opens a datagram channel.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
openPipeback to summary
public Pipe openPipe() throws IOException

Implements abstract java.nio.channels.spi.SelectorProvider.openPipe.

Doc from java.nio.channels.spi.SelectorProvider.openPipe.

Opens a pipe.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
openSelectorback to summary
public abstract AbstractSelector openSelector() throws IOException

Implements abstract java.nio.channels.spi.SelectorProvider.openSelector.

Doc from java.nio.channels.spi.SelectorProvider.openSelector.

Opens a selector.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
openServerSocketChannelback to summary
public ServerSocketChannel openServerSocketChannel() throws IOException

Implements abstract java.nio.channels.spi.SelectorProvider.openServerSocketChannel.

Doc from java.nio.channels.spi.SelectorProvider.openServerSocketChannel.

Opens a server-socket channel.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
openServerSocketChannelback to summary
public ServerSocketChannel openServerSocketChannel(ProtocolFamily family) throws IOException

Overrides java.nio.channels.spi.SelectorProvider.openServerSocketChannel.

Doc from java.nio.channels.spi.SelectorProvider.openServerSocketChannel.

Opens a server-socket channel.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
openSocketChannelback to summary
public SocketChannel openSocketChannel() throws IOException

Implements abstract java.nio.channels.spi.SelectorProvider.openSocketChannel.

Doc from java.nio.channels.spi.SelectorProvider.openSocketChannel.

Opens a socket channel.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
openSocketChannelback to summary
public SocketChannel openSocketChannel(ProtocolFamily family) throws IOException

Overrides java.nio.channels.spi.SelectorProvider.openSocketChannel.

Doc from java.nio.channels.spi.SelectorProvider.openSocketChannel.

Opens a socket channel.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
openUninterruptibleDatagramChannelback to summary
public DatagramChannel openUninterruptibleDatagramChannel() throws IOException

SelectorProviderImpl specific method to create a DatagramChannel that is not interruptible.