TcpModbusByteTransport class

Implemented types

Constructors

TcpModbusByteTransport({required String host, required int port, Duration? connectTimeout})

Properties

connectTimeout Duration?
Optional dial timeout. null falls back to the OS default.
final
hashCode int
The hash code for this object.
no setterinherited
host String
Hostname or IPv4/IPv6 literal.
final
incoming Stream<Uint8List>
no setteroverride
isOpen bool
no setter
port int
TCP port — typically 502 for Modbus RTU-over-TCP gateways.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open() Future<void>
override
send(List<int> bytes) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited