- All Superinterfaces:
EventListener
The ReadListener API.
- Author:
- Manfred Riem ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when all data has been read.void
Called when data is available.void
Called when an error occurs.
-
Method Details
-
onAllDataRead
Called when all data has been read.- Throws:
IOException
- when an I/O error occurs.
-
onDataAvailable
Called when data is available.- Throws:
IOException
- when an I/O error occurs.
-
onError
Called when an error occurs.- Parameters:
throwable
- the throwable.
-