Top Description Fields Constructors Methods
org.glassfish.grizzly

public Class DefaultProcessorSelector

extends Object
implements ProcessorSelector
Class Inheritance
All Implemented Interfaces
org.glassfish.grizzly.ProcessorSelector

Default ProcessorSelector implementation, which uses Connection's Processor preferences. The DefaultProcessorSelector first checks Connection's associated Processor (Connection#getProcessor()). If returned Processor is null - if delegates selection to Connection's ProcessorSelector (Connection#getProcessorSelector()).
Author
Alexey Stashok

Field Summary

Modifier and TypeField and Description
protected final Transport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Processor<E extends Context>
select(IOEvent ioEvent, Connection<L> connection)

Implements org.glassfish.grizzly.ProcessorSelector.select.

Selects Processor, which will process connection event.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

transportback to summary
protected final Transport transport

Constructor Detail

DefaultProcessorSelectorback to summary
public DefaultProcessorSelector(Transport transport)

Method Detail

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

Implements org.glassfish.grizzly.ProcessorSelector.select.

Doc from org.glassfish.grizzly.ProcessorSelector.select.

Selects Processor, which will process connection event.

Annotations
@Override