IsoLink class
Owns the link to the host: MACs the request, frames it, sends it, and parks until the matching response arrives.
Ported from SyncTransactionSender. The MAC is applied before the link
header is attached, the header sequence is what pairs request with response,
and a response that fails its MAC check is discarded rather than returned —
all as in the Java.
Constructors
- IsoLink({required HostConfig config, required MacComponent macComponent, required IsoTransport transportFactory(HostConnectionInfo info)})
Properties
- config → HostConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- macComponent → MacComponent
-
final
- multiplexer → IsoMultiplexer
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transportFactory → IsoTransport Function(HostConnectionInfo info)
-
final
Methods
-
dispose(
) → Future< void> -
init(
{IsoLinkEvents? events}) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendMessage(
IsoMsg message, {Duration? timeout, IsoLinkEvents? events, Future< void> beforeSend(IsoMsg request)?}) → Future<IsoMsg?> -
MACs, frames and sends
message, then waits for its response. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited