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 Summary

    Modifier and Type
    Method
    Description
    void
    Callback handling response with error
  • Method Details

    • handle

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