org.glassfish.grizzly
Class StandaloneProcessorSelector
java.lang.Object
org.glassfish.grizzly.StandaloneProcessorSelector
- All Implemented Interfaces:
- ProcessorSelector
public class StandaloneProcessorSelector
- extends Object
- implements ProcessorSelector
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.
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandaloneProcessorSelector
public StandaloneProcessorSelector()
select
public Processor select(IOEvent ioEvent,
Connection connection)
- Always return null, which means no
Processor was found to process
IOEvent.
- Specified by:
select in interface ProcessorSelector
- Parameters:
ioEvent - connection event to be processed
- Returns:
- the
Processor, which will process connection event.
Copyright © 2009 SUN Microsystems. All Rights Reserved.