org.glassfish.grizzly.asyncqueue
Class AsyncQueueProcessorSelector
java.lang.Object
org.glassfish.grizzly.asyncqueue.AsyncQueueProcessorSelector
- All Implemented Interfaces:
- ProcessorSelector
public class AsyncQueueProcessorSelector
- extends Object
- implements ProcessorSelector
The ProcessorSelector implementation, which is aware of
Connection asynchronous read/write queues, and is responsible
for adding corresponding Processor.
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transport
protected AsyncQueueEnabledTransport transport
AsyncQueueProcessorSelector
public AsyncQueueProcessorSelector(AsyncQueueEnabledTransport transport)
select
public Processor select(IOEvent ioEvent,
Connection connection)
- Returns asynchronous queue
Processor if required
- Specified by:
select in interface ProcessorSelector
- Parameters:
ioEvent - connection event to be processedconnection, - where event occuredprocessorChain - Collection, where
additional Processor(s) will be added
- Returns:
- the
InjectionResult, which defines whether
ProcessorSelector should stop the injection of a
next Processors, or can continue.
Copyright © 2009 SUN Microsystems. All Rights Reserved.