com.sun.grizzly.filterchain
Class FilterChainProcessorSelector
java.lang.Object
com.sun.grizzly.filterchain.FilterChainProcessorSelector
- All Implemented Interfaces:
- ProcessorSelector
public class FilterChainProcessorSelector
- extends Object
- implements ProcessorSelector
ProcessorSelector implementation, which delegates processing
of IOEvent to the FilterChain.
- Author:
- Alexey Stashok
- See Also:
ProcessorSelector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected FilterChainFactory factory
FilterChainFactory, responsible for creating FilterChain
instances
FilterChainProcessorSelector
public FilterChainProcessorSelector(FilterChainFactory factory)
select
public Processor select(IOEvent ioEvent,
Connection connection)
- Returns
FilterChain instance, if it's interested in processing
passed IOEvent, or null otherwise.
- Specified by:
select in interface ProcessorSelector
- Parameters:
ioEvent - IOEvent to process.connection - Connection, where IOEvent occured.
- Returns:
FilterChain instance, if it's interested in processing
passed IOEvent, or null otherwise.
Copyright © 2009 SUN Microsystems. All Rights Reserved.