java.lang.Object
org.glassfish.grizzly.IOEventLifeCycleListener.Adapter
- All Implemented Interfaces:
IOEventLifeCycleListener
- Enclosing interface:
- IOEventLifeCycleListener
public static class IOEventLifeCycleListener.Adapter
extends Object
implements IOEventLifeCycleListener
Empty
IOEventLifeCycleListener implementation.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.grizzly.IOEventLifeCycleListener
IOEventLifeCycleListener.Adapter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonComplete(Context context, Object data) IOEventprocessing completed.voidonContextManualIOEventControl(Context context) Processing switched to the manual IOEvent control.voidonContextResume(Context context) IOEventprocessing resumed.voidonContextSuspend(Context context) IOEventprocessing suspended.voidError occurred duringIOEventprocessing.voidvoidIOEventwasn't processed.voidonReregister(Context context) ReregisterIOEventinterest.voidRe-runIOEventprocessing.voidonTerminate(Context context) TerminateIOEventprocessing in this thread, but it's going to be continued later.
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
onContextSuspend
IOEventprocessing suspended.- Specified by:
onContextSuspendin interfaceIOEventLifeCycleListener- Parameters:
context- IO Context- Throws:
IOException- on error
-
onContextResume
IOEventprocessing resumed.- Specified by:
onContextResumein interfaceIOEventLifeCycleListener- Parameters:
context- IO Context- Throws:
IOException- on error
-
onComplete
IOEventprocessing completed.- Specified by:
onCompletein interfaceIOEventLifeCycleListener- Parameters:
context- IO Contextdata- data produced- Throws:
IOException- on error
-
onTerminate
TerminateIOEventprocessing in this thread, but it's going to be continued later.- Specified by:
onTerminatein interfaceIOEventLifeCycleListener- Parameters:
context- IO Context- Throws:
IOException- on error
-
onError
Error occurred duringIOEventprocessing.- Specified by:
onErrorin interfaceIOEventLifeCycleListener- Parameters:
context- IO Contextdescription- description of error. This may be ignored.- Throws:
IOException- on error
-
onNotRun
IOEventwasn't processed.- Specified by:
onNotRunin interfaceIOEventLifeCycleListener- Parameters:
context- IO Context on error- Throws:
IOException- on error
-
onContextManualIOEventControl
Processing switched to the manual IOEvent control.Connection.enableIOEvent(org.glassfish.grizzly.IOEvent)orConnection.disableIOEvent(org.glassfish.grizzly.IOEvent)might be explicitly called.- Specified by:
onContextManualIOEventControlin interfaceIOEventLifeCycleListener- Parameters:
context- IO Context on error- Throws:
IOException
-
onReregister
ReregisterIOEventinterest.- Specified by:
onReregisterin interfaceIOEventLifeCycleListener- Parameters:
context- IO Context- Throws:
IOException- on error
-
onLeave
- Specified by:
onLeavein interfaceIOEventLifeCycleListener- Parameters:
context- IO Context- Throws:
IOException- on error
-
onRerun
Re-runIOEventprocessing.- Specified by:
onRerunin interfaceIOEventLifeCycleListener- Parameters:
context- originalContextto be rerunnewContext- new context, which will replace originalContext- Throws:
IOException- on error
-