Top Description Methods
org.glassfish.grizzly

public Interface ProcessorSelector

Known Direct Implementers
org.glassfish.grizzly.StandaloneProcessorSelector, org.glassfish.grizzly.filterchain.FilterChainProcessorSelector, org.glassfish.grizzly.ChainProcessorSelector, org.glassfish.grizzly.DefaultProcessorSelector

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

Method Summary

Modifier and TypeMethod and Description
public Processor<E extends Context>

Returns:

the Processor, which will process connection event.
select
(IOEvent
connection event to be processed
ioEvent
,
Connection<L>
where event occurred
connection
)

Selects Processor, which will process connection event.

Method Detail

selectback to summary
public Processor<E extends Context> select(IOEvent ioEvent, Connection<L> connection)

Selects Processor, which will process connection event.

Parameters
ioEvent:IOEvent

connection event to be processed

connection:Connection<L>

where event occurred

Returns:Processor<E extends Context>

the Processor, which will process connection event.