org.glassfish.grizzly.nio
Class DefaultSelectorHandler.RegisterKeyTask

java.lang.Object
  extended by org.glassfish.grizzly.nio.DefaultSelectorHandler.RegisterKeyTask
All Implemented Interfaces:
SelectorHandlerTask
Enclosing class:
DefaultSelectorHandler

protected final class DefaultSelectorHandler.RegisterKeyTask
extends java.lang.Object
implements SelectorHandlerTask


Constructor Summary
DefaultSelectorHandler.RegisterKeyTask(java.nio.channels.SelectionKey selectionKey, int interest)
           
 
Method Summary
 void cancel()
           
 boolean run(SelectorRunner selectorRunner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSelectorHandler.RegisterKeyTask

public DefaultSelectorHandler.RegisterKeyTask(java.nio.channels.SelectionKey selectionKey,
                                              int interest)
Method Detail

run

public boolean run(SelectorRunner selectorRunner)
            throws java.io.IOException
Specified by:
run in interface SelectorHandlerTask
Throws:
java.io.IOException

cancel

public void cancel()
Specified by:
cancel in interface SelectorHandlerTask


Copyright © 2012 Oracle Corporation. All Rights Reserved.