Interface WriteListener

All Superinterfaces:
EventListener

public interface WriteListener extends EventListener
The WriteListener API.
Author:
Manfred Riem ([email protected])
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError​(Throwable throwable)
    Called when an error is detected.
    void
    Called when a write is possible.
  • Method Details

    • onError

      void onError(Throwable throwable)
      Called when an error is detected.
      Parameters:
      throwable - the throwable.
    • onWritePossible

      void onWritePossible() throws IOException
      Called when a write is possible.
      Throws:
      IOException - when an I/O error occurs.