Interface ModbusFailureCallback<R>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @NonNullByDefault
    public interface ModbusFailureCallback<R>
    Callback used to report failure in Modbus
    Author:
    Nagy Attila Gabor - Initial contribution
    • Method Detail

      • handle

        void handle​(AsyncModbusFailure<R> failure)
        Callback handling response with error
        Parameters:
        asyncModbusFailure - details of the failure