Com.Daacoworks.Modbus.Clients.IModbusClient

An instance of type ModbusClient represents the connection with a device that supports Modbus protocol.

ModbusClient interface exposes three simple methods:

Submit(ModbusRequestPDU request)

– Application will wait for a response on submit

SubmitAsync(ModbusRequestPDU request, IModbusResponseCallback callback)

– Application will submit the request and receive response asynchronously via the callback

Schedule(ModbusRequestPDU request, IModbusResponseCallback callback)

– Application schedules a request and will receive asynchronous response periodically via a callback.

Applications can get the instance of type ModbusClient from ModbusClientFactory class.

ModbusClientFactory is a factory class provides an instance of type ModbusClient for a given connection parameter.

com.daacoworks.modbus.clients.ModbusClient

An instance of type ModbusClient represents the connection with a device that supports Modbus protocol.

ModbusClient interface exposes three simple methods:

submit(ModbusRequestPDU request)

– Application will wait for a response on submit

submitAsync(ModbusRequestPDUrequest, ModbusResponseCallback callback)

– Application will submit the request and receive response asynchronously via the callback

schedule(ModbusRequestPDU request,ModbusResponseCallback callback)

– Application schedules a request and will receive asynchronous response periodically via a callback.

Applications can get the instance of type ModbusClient from ModbusClientFactory class.

ModbusClientFactory is a factory class provides an instance of type ModbusClient for a given connection parameter.