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 Detail

      • 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