org.jboss.xnio.nio
Class SelectorUtils

java.lang.Object
  extended by org.jboss.xnio.nio.SelectorUtils

public final class SelectorUtils
extends java.lang.Object

TODO - maybe change to cache the selector


Method Summary
static void await(NioXnio nioXnio, java.nio.channels.SelectableChannel channel, int op)
           
static void await(NioXnio nioXnio, java.nio.channels.SelectableChannel channel, int op, long time, java.util.concurrent.TimeUnit unit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

await

public static void await(NioXnio nioXnio,
                         java.nio.channels.SelectableChannel channel,
                         int op)
                  throws java.io.IOException
Throws:
java.io.IOException

await

public static void await(NioXnio nioXnio,
                         java.nio.channels.SelectableChannel channel,
                         int op,
                         long time,
                         java.util.concurrent.TimeUnit unit)
                  throws java.io.IOException
Throws:
java.io.IOException