Package | Description |
---|---|
org.glassfish.grizzly | |
org.glassfish.grizzly.asyncqueue | |
org.glassfish.grizzly.filterchain | |
org.glassfish.grizzly.nio |
Modifier and Type | Interface and Description |
---|---|
interface |
Processor<E extends Context>
Processor implementations are responsible for processing I/O events, which
occur on connection.
|
Modifier and Type | Method and Description |
---|---|
static Context |
Context.create(Connection connection) |
static Context |
Context.create(Connection connection,
Processor processor,
IOEvent ioEvent,
IOEventProcessingHandler processingHandler) |
Context |
StandaloneProcessor.obtainContext(Connection connection) |
Modifier and Type | Method and Description |
---|---|
static ProcessorResult |
ProcessorResult.createReregister(Context context) |
static ProcessorResult |
ProcessorResult.createRerun(Context context) |
static void |
ProcessorExecutor.execute(Context context) |
void |
IOEventProcessingHandler.onComplete(Context context,
Object data)
IOEvent processing completed. |
void |
IOEventProcessingHandler.Adapter.onComplete(Context context,
Object data)
IOEvent processing completed. |
void |
EmptyIOEventProcessingHandler.onComplete(Context context,
Object data)
IOEvent processing completed. |
void |
IOEventProcessingHandler.onContextManualIOEventControl(Context context)
Processing switched to the manual IOEvent control.
|
void |
IOEventProcessingHandler.Adapter.onContextManualIOEventControl(Context context)
Processing switched to the manual IOEvent control.
|
void |
EmptyIOEventProcessingHandler.onContextManualIOEventControl(Context context)
Processing switched to the manual IOEvent control.
|
void |
IOEventProcessingHandler.onContextResume(Context context)
IOEvent processing resumed. |
void |
IOEventProcessingHandler.Adapter.onContextResume(Context context)
IOEvent processing resumed. |
void |
EmptyIOEventProcessingHandler.onContextResume(Context context)
IOEvent processing resumed. |
void |
IOEventProcessingHandler.onContextSuspend(Context context)
IOEvent processing suspended. |
void |
IOEventProcessingHandler.Adapter.onContextSuspend(Context context)
IOEvent processing suspended. |
void |
EmptyIOEventProcessingHandler.onContextSuspend(Context context)
IOEvent processing suspended. |
void |
IOEventProcessingHandler.onError(Context context,
Object description)
Error occurred during
IOEvent processing. |
void |
IOEventProcessingHandler.Adapter.onError(Context context,
Object description)
Error occurred during
IOEvent processing. |
void |
EmptyIOEventProcessingHandler.onError(Context context,
Object description)
Error occurred during
IOEvent processing. |
void |
IOEventProcessingHandler.onLeave(Context context)
|
void |
IOEventProcessingHandler.Adapter.onLeave(Context context)
|
void |
EmptyIOEventProcessingHandler.onLeave(Context context)
|
void |
IOEventProcessingHandler.onNotRun(Context context)
IOEvent wasn't processed. |
void |
IOEventProcessingHandler.Adapter.onNotRun(Context context)
IOEvent wasn't processed. |
void |
EmptyIOEventProcessingHandler.onNotRun(Context context)
IOEvent wasn't processed. |
void |
IOEventProcessingHandler.onReregister(Context context)
Reregister
IOEvent interest. |
void |
IOEventProcessingHandler.Adapter.onReregister(Context context)
Reregister
IOEvent interest. |
void |
EmptyIOEventProcessingHandler.onReregister(Context context)
Reregister
IOEvent interest. |
void |
IOEventProcessingHandler.onRerun(Context context,
Context newContext)
Re-run
IOEvent processing. |
void |
IOEventProcessingHandler.Adapter.onRerun(Context context,
Context newContext)
Re-run
IOEvent processing. |
void |
EmptyIOEventProcessingHandler.onRerun(Context context,
Context newContext)
Re-run
IOEvent processing. |
void |
IOEventProcessingHandler.onTerminate(Context context)
Deprecated.
will never be invoked
|
void |
IOEventProcessingHandler.Adapter.onTerminate(Context context)
Terminate
IOEvent processing in this thread, but it's going to
be continued later. |
void |
EmptyIOEventProcessingHandler.onTerminate(Context context)
Terminate
IOEvent processing in this thread, but it's going to
be continued later. |
ProcessorResult |
StandaloneProcessor.process(Context context)
This method should never be called, because
StandaloneProcessor.isInterested(IOEvent) returns false for any
IOEvent . |
static void |
ProcessorExecutor.resume(Context context) |
Modifier and Type | Method and Description |
---|---|
AsyncQueue.AsyncResult |
AsyncQueue.processAsync(Context context)
Callback method, which is called async.
|
Modifier and Type | Method and Description |
---|---|
Context |
FilterChainContext.getInternalContext()
Get the general Grizzly
Context this filter context wraps. |
Context |
AbstractFilterChain.obtainContext(Connection connection)
Creates
Context |
Modifier and Type | Method and Description |
---|---|
ProcessorResult |
DefaultFilterChain.process(Context context) |
Modifier and Type | Method and Description |
---|---|
AsyncQueue.AsyncResult |
AbstractNIOAsyncQueueWriter.processAsync(Context context)
Callback method, which is called async.
|
AsyncQueue.AsyncResult |
AbstractNIOAsyncQueueReader.processAsync(Context context)
Callback method, which is called async.
|
Copyright © 2014 Oracle Corporation. All rights reserved.