- All Superinterfaces:
java.util.EventListener
public interface AsyncListener
extends java.util.EventListener
The AsyncListener API.
- Author:
- Manfred Riem ([email protected])
-
Method Summary
Modifier and Type Method Description void
onComplete(AsyncEvent event)
Handle the on complete event.void
onError(AsyncEvent event)
Handle the on error event.void
onStartAsync(AsyncEvent event)
Handle the on start async event.void
onTimeout(AsyncEvent event)
Handle the on timeout event.
-
Method Details
-
onComplete
Handle the on complete event.- Parameters:
event
- the event.- Throws:
java.io.IOException
- when an I/O error occurs.
-
onError
Handle the on error event.- Parameters:
event
- the event.- Throws:
java.io.IOException
- when an I/O error occurs.
-
onStartAsync
Handle the on start async event.- Parameters:
event
- the event.- Throws:
java.io.IOException
- when an I/O error occurs.
-
onTimeout
Handle the on timeout event.- Parameters:
event
- the event.- Throws:
java.io.IOException
- when an I/O error occurs.
-