Interface ErrorOnWriteListener


public interface ErrorOnWriteListener
Listener called when a connection gets an IO error trying to write on the socket. This can be used to trigger connection recovery.
Since:
4.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Connection connection, IOException exception)
    Called when writing to the socket failed
  • Method Details

    • handle

      void handle(Connection connection, IOException exception) throws IOException
      Called when writing to the socket failed
      Parameters:
      connection - the owning connection instance
      exception - the thrown exception
      Throws:
      IOException