- All Superinterfaces:
java.util.EventListener
public interface WriteListener
extends java.util.EventListener
The WriteListener API.
- Author:
- Manfred Riem ([email protected])
-
Method Summary
Modifier and Type Method Description void
onError(java.lang.Throwable throwable)
Called when an error is detected.void
onWritePossible()
Called when a write is possible.
-
Method Details
-
onError
void onError(java.lang.Throwable throwable)Called when an error is detected.- Parameters:
throwable
- the throwable.
-
onWritePossible
void onWritePossible() throws java.io.IOExceptionCalled when a write is possible.- Throws:
java.io.IOException
- when an I/O error occurs.
-