java.lang.Object
org.glassfish.grizzly.StandaloneProcessorSelector
- All Implemented Interfaces:
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
StandaloneProcessorSelector
public StandaloneProcessorSelector()
-
-
Method Details
-
select
- Specified by:
selectin interfaceProcessorSelector- Parameters:
ioEvent- connection event to be processedconnection- where event occurred- Returns:
- the
Processor, which will process connection event.
-