Interface ErrorListener<S>

Type Parameters:
S - the connection or endpoint type that produced the error
All Known Implementing Classes:
DefaultClient.Redispatch

public interface ErrorListener<S>
Notified when errors happen on a connection.
Author:
Paul Speed
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleError(S source, Throwable t)
    Handles an error that occurred on the specified source.
  • Method Details

    • handleError

      void handleError(S source, Throwable t)
      Handles an error that occurred on the specified source.
      Parameters:
      source - the connection or endpoint that produced the error
      t - the error that was raised