org.granite.gravity.servlet3
Class AsyncRequestListener

java.lang.Object
  extended by org.granite.gravity.servlet3.AsyncRequestListener
All Implemented Interfaces:
EventListener, AsyncListener

public class AsyncRequestListener
extends Object
implements AsyncListener

Author:
Franck WOLFF

Constructor Summary
AsyncRequestListener(AsyncChannel channel)
           
 
Method Summary
 void onComplete(AsyncEvent event)
           
 void onError(AsyncEvent arg0)
           
 void onStartAsync(AsyncEvent arg0)
           
 void onTimeout(AsyncEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncRequestListener

public AsyncRequestListener(AsyncChannel channel)
Method Detail

onComplete

public void onComplete(AsyncEvent event)
                throws IOException
Specified by:
onComplete in interface AsyncListener
Throws:
IOException

onTimeout

public void onTimeout(AsyncEvent event)
               throws IOException
Specified by:
onTimeout in interface AsyncListener
Throws:
IOException

onError

public void onError(AsyncEvent arg0)
             throws IOException
Specified by:
onError in interface AsyncListener
Throws:
IOException

onStartAsync

public void onStartAsync(AsyncEvent arg0)
                  throws IOException
Specified by:
onStartAsync in interface AsyncListener
Throws:
IOException