Com.Daacoworks.modbus.response.IModbusResponseCallback

A class can implement the IModbusResponseCallback when it wants to be informed of response received from a Modbus device.

The interface IModbusResponseCallback has two methods:

OnSuccess(ModbusSuccessResponse)

– called when there is a success response received from a Modbus device.

OnError(ModbusErrorResponse)

– called when there is an error response received from a Modbus device

Com.Daacoworks.modbus.response.ModbusResponseCallback

A class can implement the ModbusResponseCallback when it wants to be informed of response received from a Modbus device.

The interface ModbusResponseCallback has two methods:

onSuccess(ModbusSuccessResponse)

– called when there is a success response received from a Modbus device.

onError(ModbusErrorResponse)

– called when there is an error response received from a Modbus device