Interface ModbusConnectionAction<T>

Type Parameters:
T - the action return type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ModbusConnectionAction<T>
Callback API for performing an action with a ModbusConnection.

If no result object is needed, simply use Object as the parameter type and return null from doWithConnection(ModbusConnection).

Since:
2.0
Version:
1.0
Author:
matt
  • Method Details