org.activeio.net
Class NIOAsyncChannelSelectorManager

java.lang.Object
  extended by org.activeio.net.NIOAsyncChannelSelectorManager

public final class NIOAsyncChannelSelectorManager
extends Object

The SelectorManager will manage one Selector and the thread that checks the selector. We may need to consider running more than one thread to check the selector if servicing the selector takes too long.

Version:
$Rev: 46019 $ $Date: 2004-09-14 05:56:06 -0400 (Tue, 14 Sep 2004) $

Nested Class Summary
static interface NIOAsyncChannelSelectorManager.SelectorManagerListener
           
 class NIOAsyncChannelSelectorManager.SocketChannelAsyncChannelSelection
           
 
Method Summary
static NIOAsyncChannelSelectorManager.SocketChannelAsyncChannelSelection register(SocketChannel socketChannel, NIOAsyncChannelSelectorManager.SelectorManagerListener listener)
           
static void setChannelExecutor(Executor executor)
           
static void setSelectorExecutor(Executor executor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

register

public static NIOAsyncChannelSelectorManager.SocketChannelAsyncChannelSelection register(SocketChannel socketChannel,
                                                                                         NIOAsyncChannelSelectorManager.SelectorManagerListener listener)
                                                                                  throws IOException
Throws:
IOException

setSelectorExecutor

public static void setSelectorExecutor(Executor executor)

setChannelExecutor

public static void setChannelExecutor(Executor executor)


Copyright © -2009 The ActiveIO Project. All Rights Reserved.