org.glassfish.grizzly.nio
Interface SelectorHandlerTask

All Known Implementing Classes:
DefaultSelectorHandler.DeregisterChannelOperation, DefaultSelectorHandler.DeRegisterKeyTask, DefaultSelectorHandler.RegisterChannelOperation, DefaultSelectorHandler.RegisterKeyTask, DefaultSelectorHandler.RunnableTask

public interface SelectorHandlerTask

Task, which may be registered on SelectorHandler and executed in a Selector thread.

Author:
Alexey Stashok

Method Summary
 void cancel()
           
 boolean run(SelectorRunner selectorRunner)
           
 

Method Detail

run

boolean run(SelectorRunner selectorRunner)
            throws IOException
Throws:
IOException

cancel

void cancel()


Copyright © 2013 Oracle Corporation. All Rights Reserved.