Interface ConnectionErrorHandler

    • Method Detail

      • registerConnection

        void registerConnection​(AdaptrisConnection connection)

        Sets the AdaptrisConnection to handle errors for.

        Parameters:
        connection - the AdaptrisConnection to handle errors for
      • retrieveConnection

        <T> T retrieveConnection​(java.lang.Class<T> type)
        Return this components underlying connection.
        Parameters:
        type - the type of connection
        Returns:
        the connection
      • allowedInConjunctionWith

        boolean allowedInConjunctionWith​(ConnectionErrorHandler ceh)
        Is this error handler allowed to work with this error handler.
        Parameters:
        ceh - other error handler.
        Returns:
        true if the two error handlers can work together.
      • handleConnectionException

        void handleConnectionException()
        Handle the error.