Interface PollTask
- All Superinterfaces:
TaskWithEndpoint<ModbusReadRequestBlueprint,
ModbusReadCallback, ModbusFailureCallback<ModbusReadRequestBlueprint>>
@NonNullByDefault
public interface PollTask
extends TaskWithEndpoint<ModbusReadRequestBlueprint,ModbusReadCallback,ModbusFailureCallback<ModbusReadRequestBlueprint>>
Poll task represents Modbus read request
Must be hashable. HashCode and equals should be defined such that no two poll tasks are registered that are
equal.
- Author:
- Sami Salonen - Initial contribution
- See Also:
-
Method Summary
Methods inherited from interface org.openhab.core.io.transport.modbus.TaskWithEndpoint
getEndpoint, getFailureCallback, getRequest, getResultCallback
-
Method Details
-
getMaxTries
default int getMaxTries()- Specified by:
getMaxTries
in interfaceTaskWithEndpoint<ModbusReadRequestBlueprint,
ModbusReadCallback, ModbusFailureCallback<ModbusReadRequestBlueprint>>
-