org.glassfish.grizzly.filterchain
Class FilterChainProcessorSelector

java.lang.Object
  extended by org.glassfish.grizzly.filterchain.FilterChainProcessorSelector
All Implemented Interfaces:
ProcessorSelector

public class FilterChainProcessorSelector
extends java.lang.Object
implements ProcessorSelector

ProcessorSelector implementation, which delegates processing of IOEvent to the FilterChain.

Author:
Alexey Stashok
See Also:
ProcessorSelector

Field Summary
protected  FilterChainBuilder builder
          FilterChainBuilder, responsible for creating FilterChain instances
 
Constructor Summary
FilterChainProcessorSelector(FilterChainBuilder builder)
           
 
Method Summary
 Processor select(IOEvent ioEvent, Connection connection)
          Returns FilterChain instance, if it's interested in processing passed IOEvent, or null otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builder

protected final FilterChainBuilder builder
FilterChainBuilder, responsible for creating FilterChain instances

Constructor Detail

FilterChainProcessorSelector

public FilterChainProcessorSelector(FilterChainBuilder builder)
Method Detail

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 © 2011 Oracle Corpration. All Rights Reserved.