public interface WriteHandler
A handler for consuming the result of an asynchronous write operation.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
writeCompleted
(Throwable thrown) Called after an asynchronous write operation has completed.
-
Method Details
-
writeCompleted
Called after an asynchronous write operation has completed.- Parameters:
thrown
- error of failed write ornull
if no error.- Returns:
true
if next write operation should be performed.- Throws:
Exception
- if an unexpected error occurs.
-