public static class IOEventProcessingHandler.Adapter extends java.lang.Object implements IOEventProcessingHandler
IOEventProcessingHandler implementation.IOEventProcessingHandler.Adapter| Constructor and Description |
|---|
IOEventProcessingHandler.Adapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(Context context,
java.lang.Object data)
IOEvent processing completed. |
void |
onContextManualIOEventControl(Context context)
Processing switched to the manual IOEvent control.
|
void |
onContextResume(Context context)
IOEvent processing resumed. |
void |
onContextSuspend(Context context)
IOEvent processing suspended. |
void |
onError(Context context,
java.lang.Object description)
Error occurred during
IOEvent processing. |
void |
onLeave(Context context)
|
void |
onNotRun(Context context)
IOEvent wasn't processed. |
void |
onReregister(Context context)
Reregister
IOEvent interest. |
void |
onRerun(Context context,
Context newContext)
Re-run
IOEvent processing. |
void |
onTerminate(Context context)
Terminate
IOEvent processing in this thread, but it's going to
be continued later. |
public void onContextSuspend(Context context) throws java.io.IOException
IOEvent processing suspended.onContextSuspend in interface IOEventProcessingHandlerjava.io.IOExceptionpublic void onContextResume(Context context) throws java.io.IOException
IOEvent processing resumed.onContextResume in interface IOEventProcessingHandlerjava.io.IOExceptionpublic void onComplete(Context context, java.lang.Object data) throws java.io.IOException
IOEvent processing completed.onComplete in interface IOEventProcessingHandlerjava.io.IOExceptionpublic void onTerminate(Context context) throws java.io.IOException
IOEvent processing in this thread, but it's going to
be continued later.onTerminate in interface IOEventProcessingHandlerjava.io.IOExceptionpublic void onError(Context context, java.lang.Object description) throws java.io.IOException
IOEvent processing.onError in interface IOEventProcessingHandlerjava.io.IOExceptionpublic void onNotRun(Context context) throws java.io.IOException
IOEvent wasn't processed.onNotRun in interface IOEventProcessingHandlerjava.io.IOExceptionpublic void onContextManualIOEventControl(Context context) throws java.io.IOException
Connection.enableIOEvent(org.glassfish.grizzly.IOEvent) or
Connection.disableIOEvent(org.glassfish.grizzly.IOEvent) might be
explicitly called.onContextManualIOEventControl in interface IOEventProcessingHandlerjava.io.IOExceptionpublic void onReregister(Context context) throws java.io.IOException
IOEvent interest.onReregister in interface IOEventProcessingHandlerjava.io.IOExceptionpublic void onLeave(Context context) throws java.io.IOException
onLeave in interface IOEventProcessingHandlerjava.io.IOExceptionpublic void onRerun(Context context, Context newContext) throws java.io.IOException
IOEvent processing.onRerun in interface IOEventProcessingHandlercontext - original Context to be rerunnewContext - new context, which will replace original Contextjava.io.IOExceptionCopyright © 2013 Oracle Corporation. All Rights Reserved.