org.glassfish.grizzly
Class EmptyIOEventProcessingHandler

java.lang.Object
  extended by org.glassfish.grizzly.EmptyIOEventProcessingHandler
All Implemented Interfaces:
IOEventProcessingHandler

public class EmptyIOEventProcessingHandler
extends java.lang.Object
implements IOEventProcessingHandler

Empty IOEventProcessingHandler implementation.

Author:
Alexey Stashok

Constructor Summary
EmptyIOEventProcessingHandler()
           
 
Method Summary
 void onComplete(Context context)
          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)
          Error occurred during IOEvent processing.
 void onLeave(Context context)
          Detaching IOEvent processing out of this Context.
 void onNotRun(Context context)
          IOEvent wasn't processed.
 void onReregister(Context context)
          Reregister IOEvent interest.
 void onRerun(Context context)
          Re-run IOEvent processing.
 void onTerminate(Context context)
          Terminate IOEvent processing in this thread, but it's going to be continued later.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyIOEventProcessingHandler

public EmptyIOEventProcessingHandler()
Method Detail

onContextSuspend

public void onContextSuspend(Context context)
                      throws java.io.IOException
IOEvent processing suspended.

Specified by:
onContextSuspend in interface IOEventProcessingHandler
Throws:
java.io.IOException

onContextResume

public void onContextResume(Context context)
                     throws java.io.IOException
IOEvent processing resumed.

Specified by:
onContextResume in interface IOEventProcessingHandler
Throws:
java.io.IOException

onContextManualIOEventControl

public void onContextManualIOEventControl(Context context)
                                   throws java.io.IOException
Processing switched to the manual IOEvent control. Connection.enableIOEvent(org.glassfish.grizzly.IOEvent) or Connection.disableIOEvent(org.glassfish.grizzly.IOEvent) might be explicitly called.

Specified by:
onContextManualIOEventControl in interface IOEventProcessingHandler
Throws:
java.io.IOException

onReregister

public void onReregister(Context context)
                  throws java.io.IOException
Reregister IOEvent interest.

Specified by:
onReregister in interface IOEventProcessingHandler
Throws:
java.io.IOException

onComplete

public void onComplete(Context context)
                throws java.io.IOException
IOEvent processing completed.

Specified by:
onComplete in interface IOEventProcessingHandler
Throws:
java.io.IOException

onLeave

public void onLeave(Context context)
             throws java.io.IOException
Detaching IOEvent processing out of this Context.

Specified by:
onLeave in interface IOEventProcessingHandler
Throws:
java.io.IOException

onTerminate

public void onTerminate(Context context)
                 throws java.io.IOException
Terminate IOEvent processing in this thread, but it's going to be continued later.

Specified by:
onTerminate in interface IOEventProcessingHandler
Throws:
java.io.IOException

onRerun

public void onRerun(Context context)
             throws java.io.IOException
Re-run IOEvent processing.

Specified by:
onRerun in interface IOEventProcessingHandler
Throws:
java.io.IOException

onError

public void onError(Context context)
             throws java.io.IOException
Error occurred during IOEvent processing.

Specified by:
onError in interface IOEventProcessingHandler
Throws:
java.io.IOException

onNotRun

public void onNotRun(Context context)
              throws java.io.IOException
IOEvent wasn't processed.

Specified by:
onNotRun in interface IOEventProcessingHandler
Throws:
java.io.IOException


Copyright © 2011 Oracle Corpration. All Rights Reserved.