Interface AsyncListener

All Superinterfaces:
java.util.EventListener

public interface AsyncListener
extends java.util.EventListener
The AsyncListener API.
Author:
Manfred Riem ([email protected])
  • Method Details

    • onComplete

      void onComplete​(AsyncEvent event) throws java.io.IOException
      Handle the on complete event.
      Parameters:
      event - the event.
      Throws:
      java.io.IOException - when an I/O error occurs.
    • onError

      void onError​(AsyncEvent event) throws java.io.IOException
      Handle the on error event.
      Parameters:
      event - the event.
      Throws:
      java.io.IOException - when an I/O error occurs.
    • onStartAsync

      void onStartAsync​(AsyncEvent event) throws java.io.IOException
      Handle the on start async event.
      Parameters:
      event - the event.
      Throws:
      java.io.IOException - when an I/O error occurs.
    • onTimeout

      void onTimeout​(AsyncEvent event) throws java.io.IOException
      Handle the on timeout event.
      Parameters:
      event - the event.
      Throws:
      java.io.IOException - when an I/O error occurs.