|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.StandaloneProcessorSelector
public class StandaloneProcessorSelector
ProcessorSelector, which doesn't add any Processor to process
occurred IOEvent.
Connection I/O events should be processed explicitly by calling
read/write/accept/connect methods.
Setting StandaloneProcessorSelector has the same effect as setting
StandaloneProcessor, though if StandaloneProcessorSelector is
set - there is still possibility to overwrite processing logic by providing
custom Processor.
| Field Summary | |
|---|---|
static StandaloneProcessorSelector |
INSTANCE
|
| Constructor Summary | |
|---|---|
StandaloneProcessorSelector()
|
|
| Method Summary | |
|---|---|
Processor |
select(IOEvent ioEvent,
Connection connection)
Always return null, which means no Processor was found to process
IOEvent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final StandaloneProcessorSelector INSTANCE
| Constructor Detail |
|---|
public StandaloneProcessorSelector()
| Method Detail |
|---|
public Processor select(IOEvent ioEvent,
Connection connection)
Processor was found to process
IOEvent.
select in interface ProcessorSelectorioEvent - connection event to be processedconnection - where event occurred
Processor, which will process connection event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||