Java.Nio.Channels.Spi.SelectorProvider: Method Members

The methods of Java.Nio.Channels.Spi.SelectorProvider are listed below. For a list of all members, see the SelectorProvider Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

InheritedChannel() : Java.Nio.Channels.IChannel
Returns the channel inherited from the process that created this VM.
abstract
OpenDatagramChannel() : Java.Nio.Channels.DatagramChannel
Creates a new open DatagramChannel.
abstract
OpenPipe() : Java.Nio.Channels.Pipe
Creates a new Pipe.
abstract
OpenSelector() : AbstractSelector
Creates a new selector.
abstract
OpenServerSocketChannel() : Java.Nio.Channels.ServerSocketChannel
Creates a new open ServerSocketChannel.
abstract
OpenSocketChannel() : Java.Nio.Channels.SocketChannel
Create a new open SocketChannel.
static
Provider() : SelectorProvider
Gets a provider instance by executing the following steps when called for the first time:
  • if the system property "java.nio.channels.spi.SelectorProvider" is set, the value of this property is the class name of the provider returned;
  • if there is a provider-configuration file named "java.nio.channels.spi.SelectorProvider" in META-INF/services of a jar file valid in the system class loader, the first class name is the provider's class name;
  • otherwise, a system default provider will be returned.