|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.activeio.net.NIOAsynchChannelSelectorManager
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.
Nested Class Summary | |
static interface |
NIOAsynchChannelSelectorManager.SelectorManagerListener
|
class |
NIOAsynchChannelSelectorManager.SocketChannelAsynchChannelSelection
|
Method Summary | |
static NIOAsynchChannelSelectorManager.SocketChannelAsynchChannelSelection |
register(java.nio.channels.SocketChannel socketChannel,
NIOAsynchChannelSelectorManager.SelectorManagerListener listener)
|
static void |
setChannelExecutor(EDU.oswego.cs.dl.util.concurrent.Executor executor)
|
static void |
setSelectorExecutor(EDU.oswego.cs.dl.util.concurrent.Executor executor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static NIOAsynchChannelSelectorManager.SocketChannelAsynchChannelSelection register(java.nio.channels.SocketChannel socketChannel, NIOAsynchChannelSelectorManager.SelectorManagerListener listener) throws java.io.IOException
java.io.IOException
public static void setSelectorExecutor(EDU.oswego.cs.dl.util.concurrent.Executor executor)
public static void setChannelExecutor(EDU.oswego.cs.dl.util.concurrent.Executor executor)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |