ModbusConnector class abstract
MODBUS Connector.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onClose ↔ CloseCallback?
-
This should be called by the Connector implementation after closing connection (socket close, etc)
getter/setter pair
- onError ↔ ErrorCallback?
-
This should be called by the Connector implementation when any error occurs
getter/setter pair
- onResponse ↔ FunctionCallback
-
This should be called by the Connector implementation when response comes from the device
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future -
Will be called from the
ModbusClientImpl
-
connect(
) → Future - Connect will be called from the ModbusClient to establish connection
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setUnitId(
int unitId) → void - Set unit ID
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
int function, Uint8List data) → void -
Write function with data over connector. Will be called from the
ModbusClientImpl
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited