com.sun.enterprise.web.connector.grizzly
Class NioProvider

java.lang.Object
  extended by com.sun.enterprise.web.connector.grizzly.NioProvider

public abstract class NioProvider
extends Object

Nio Provider interface to handle 6562829. AS socket service will use an implementation of this to provide correct keyFor implementation.

Author:

Constructor Summary
NioProvider()
           
 
Method Summary
static NioProvider getProvider()
          Return the Nio Provider in the VM.
abstract  SelectionKey keyFor(SelectableChannel channel, Selector sel)
          Retrieves the key representing the channel's registration with the given selector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NioProvider

public NioProvider()
Method Detail

keyFor

public abstract SelectionKey keyFor(SelectableChannel channel,
                                    Selector sel)
Retrieves the key representing the channel's registration with the given selector.


getProvider

public static NioProvider getProvider()
Return the Nio Provider in the VM.



Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.