org.glassfish.grizzly.nio
Class Selectors

java.lang.Object
  extended by org.glassfish.grizzly.nio.Selectors

public final class Selectors
extends Object

Utility class for Selector related operations.

Author:
Alexey Stashok

Constructor Summary
Selectors()
           
 
Method Summary
static Selector newSelector(SelectorProvider provider)
          Creates new Selector using passed SelectorProvider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Selectors

public Selectors()
Method Detail

newSelector

public static Selector newSelector(SelectorProvider provider)
                            throws IOException
Creates new Selector using passed SelectorProvider.

Parameters:
provider - SelectorProvider
Returns:
Selector
Throws:
IOException


Copyright © 2012 Oracle Corporation. All Rights Reserved.