Package | Description |
---|---|
org.glassfish.grizzly | |
org.glassfish.grizzly.filterchain | |
org.glassfish.grizzly.nio | |
org.glassfish.grizzly.nio.transport |
Modifier and Type | Class and Description |
---|---|
class |
StandaloneProcessor
Processor , which is not interested in processing I/O events. |
Modifier and Type | Field and Description |
---|---|
protected Processor |
AbstractSocketConnectorHandler.Builder.processor |
protected Processor |
AbstractTransport.processor
Transport default Processor
|
protected Processor |
NIOTransportBuilder.processor |
protected Processor |
AbstractBindingHandler.processor |
protected Processor |
AbstractBindingHandler.Builder.processor |
Modifier and Type | Method and Description |
---|---|
Processor |
AbstractSocketConnectorHandler.getProcessor()
|
Processor |
Transport.getProcessor()
Gets the default
Processor , which will process Connection
I/O events in case, if Connection doesn't have own
Processor preferences. |
Processor |
AbstractTransport.getProcessor()
Gets the default
Processor , which will process Connection
I/O events in case, if Connection doesn't have own
Processor preferences. |
Processor |
NIOTransportBuilder.getProcessor() |
Processor |
Connection.getProcessor()
Gets the default
Processor , which will process Connection
I/O events. |
Processor |
Context.getProcessor()
|
Processor |
AbstractBindingHandler.getProcessor()
|
Processor |
Connection.obtainProcessor(IOEvent ioEvent)
Gets the
Processor , which will process Connection
I/O event. |
Processor |
Transport.obtainProcessor(IOEvent ioEvent,
Connection connection)
Gets the default
Processor , which will process Transport
Connection s I/O events in case, if Connection
doesn't have own Processor preferences. |
Processor |
AbstractTransport.obtainProcessor(IOEvent ioEvent,
Connection connection)
Gets the default
Processor , which will process Transport
Connection s I/O events in case, if Connection
doesn't have own Processor preferences. |
Processor |
StandaloneProcessorSelector.select(IOEvent ioEvent,
Connection connection)
|
Processor |
DefaultProcessorSelector.select(IOEvent ioEvent,
Connection connection)
Selects
Processor , which will process connection event. |
Processor |
ChainProcessorSelector.select(IOEvent ioEvent,
Connection connection)
Selects
Processor , which will process connection event. |
Processor |
ProcessorSelector.select(IOEvent ioEvent,
Connection connection)
Selects
Processor , which will process connection event. |
Modifier and Type | Method and Description |
---|---|
static Context |
Context.create(Connection connection,
Processor processor,
IOEvent ioEvent,
IOEventProcessingHandler processingHandler) |
static void |
ProcessorExecutor.execute(Connection connection,
IOEvent ioEvent,
Processor processor,
IOEventProcessingHandler processingHandler) |
<E> E |
Connection.obtainProcessorState(Processor processor,
NullaryFunction<E> factory)
Returns the
Processor state associated with this Connection. |
E |
AbstractSocketConnectorHandler.Builder.processor(Processor processor) |
E |
AbstractBindingHandler.Builder.processor(Processor processor) |
void |
AbstractSocketConnectorHandler.setProcessor(Processor processor)
|
void |
Transport.setProcessor(Processor processor)
Sets the default
Processor , which will process Connection
I/O events in case, if Connection doesn't have own
Processor preferences. |
void |
AbstractTransport.setProcessor(Processor processor)
Sets the default
Processor , which will process Connection
I/O events in case, if Connection doesn't have own
Processor preferences. |
T |
NIOTransportBuilder.setProcessor(Processor processor) |
void |
Connection.setProcessor(Processor preferableProcessor)
Sets the default
Processor , which will process Connection
I/O events. |
void |
Context.setProcessor(Processor processor)
|
void |
AbstractBindingHandler.setProcessor(Processor processor)
|
Modifier and Type | Interface and Description |
---|---|
interface |
FilterChain
This class implement the "Chain of Responsibility" pattern (for more info,
take a look at the classic "Gang of Four" design patterns book).
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilterChain
Abstract
FilterChain implementation,
which redirects process(org.glassfish.grizzly.Context)
call to the FilterChain.execute(org.glassfish.grizzly.filterchain.FilterChainContext) |
class |
DefaultFilterChain
Default
FilterChain implementation |
class |
ListFacadeFilterChain
FilterChain facade, which implements all the List related
methods. |
Modifier and Type | Method and Description |
---|---|
Processor |
FilterChainProcessorSelector.select(IOEvent ioEvent,
Connection connection)
Returns
FilterChain instance, if it's interested in processing
passed IOEvent , or null otherwise. |
Modifier and Type | Field and Description |
---|---|
protected Processor |
NIOConnection.processor |
Modifier and Type | Method and Description |
---|---|
Processor |
NIOConnection.getProcessor() |
Processor |
NIOConnection.obtainProcessor(IOEvent ioEvent) |
Modifier and Type | Method and Description |
---|---|
<E> E |
NIOConnection.obtainProcessorState(Processor processor,
NullaryFunction<E> factory) |
void |
NIOConnection.setProcessor(Processor preferableProcessor) |
Modifier and Type | Method and Description |
---|---|
Processor |
UDPNIOTransport.TransportConnectorHandler.getProcessor() |
Processor |
UDPNIOServerConnection.getProcessor() |
Copyright © 2014 Oracle Corporation. All rights reserved.