ConnectionProbeMixin mixin
The connection-test round trip, shared by both roles.
Both a coordinator and a participant have to answer probes and consume replies, because clock sync is per-inlet: whoever receives from a peer probes it, and in this topology both roles receive. The two handlers used to split this asymmetrically — only the coordinator answered, only the participant listened — which no longer matches how it is used.
The responder half is deliberately stateless, mirroring liblsl, whose
outlets answer time probes from the existing UDP server without tracking
anything (udp_server.cpp:152-168).
- Superclass constraints
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onConnectionProbeReply ↔ void Function(ConnectionTestResponseMessage reply)?
-
Called with replies that carry clock-probe timestamps, so the owner can
feed them to an estimator. Left null when clock sync is not running.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionConfig → CoordinationSessionConfig
-
finalinherited
- state → CoordinationState
-
finalinherited
- thisNode → Node
-
finalinherited
Methods
-
canHandle(
CoordinationMessageType type) → bool -
Check if this handler should process the given message type
inherited
-
handleMessage(
CoordinationMessage message) → Future< void> -
Handle incoming coordination message
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
respondToConnectionTest(
ConnectionTestMessage message) → Future< void> - Answers a connection test, echoing back what the requester needs to close an NTP quadruple.
-
routeConnectionTestResponse(
ConnectionTestResponseMessage message) → bool - Filters a reply to this node and hands clock probes to the estimator.
-
sendConnectionProbe(
String peerUId, int waveId, int probeIndex) → Future< void> -
Sends one clock probe to
peerUId. -
sendMessage(
CoordinationMessage message) → Future< void> -
Send outgoing coordination message
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited