ModbusConnector class

MODBUS Connector.

Implementers

Constructors

ModbusConnector()

Properties

onClose CloseCallback
This should be called by the Connector implementation after closing connection (socket close, etc)
read / write
onError ErrorCallback
This should be called by the Connector implementation when any error occurs
read / write
onResponse FunctionCallback
This should be called by the Connector implementation when response comes from the device
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

close() → Future
Will be called from the ModbusClientImpl
connect() → Future
Connect will be called from the ModbusClient to establish connection
write(int function, Uint8List data) → void
Write function with data over connector. Will be called from the ModbusClientImpl
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited