Interface WriteTask
- All Superinterfaces:
TaskWithEndpoint<ModbusWriteRequestBlueprint,
ModbusWriteCallback, ModbusFailureCallback<ModbusWriteRequestBlueprint>>
@NonNullByDefault
public interface WriteTask
extends TaskWithEndpoint<ModbusWriteRequestBlueprint,ModbusWriteCallback,ModbusFailureCallback<ModbusWriteRequestBlueprint>>
Poll task represents Modbus write request
Unlike
PollTask
, this does not have to be hashable.- Author:
- Sami Salonen - Initial contribution
-
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<ModbusWriteRequestBlueprint,
ModbusWriteCallback, ModbusFailureCallback<ModbusWriteRequestBlueprint>>
-