org.glassfish.grizzly
Interface ProcessorSelector

All Known Implementing Classes:
AsyncQueueProcessorSelector, ChainProcessorSelector, DefaultProcessorSelector, FilterChainProcessorSelector, StandaloneProcessorSelector, TCPNIOServerConnection.AcceptorEventProcessorSelector

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 occured
Returns:
the Processor, which will process connection event.


Copyright © 2009 SUN Microsystems. All Rights Reserved.