org.glassfish.grizzly
Interface ProcessorSelector

All Known Implementing Classes:
ChainProcessorSelector, DefaultProcessorSelector, FilterChainProcessorSelector, StandaloneProcessorSelector

public interface ProcessorSelector

Implementations of the interface will be responsible to find correct Processor, which will process IOEvent, occurred on the Connection

Author:
Alexey Stashok

Method Summary
 Processor select(IOEvent ioEvent, Connection connection)
          Selects Processor, which will process connection event.
 

Method Detail

select

Processor select(IOEvent ioEvent,
                 Connection connection)
Selects Processor, which will process connection event.

Parameters:
ioEvent - connection event to be processed
connection - where event occurred
Returns:
the Processor, which will process connection event.


Copyright © 2011 Oracle Corpration. All Rights Reserved.