FaultProfile
Declarative description of which faults FaultySeam should inject.
All probabilistic profiles take an explicit seed so tests are deterministic: two runs with the same seed produce identical behaviour.
Faults are per-Direction unless otherwise noted.
Inheritors
Types
Allow at most maxOutbound total outbound frames (per-link lifetime).
Close the link with reason immediately after the (frameIndex)-th outbound frame (0-based) is accepted by send.
Compose multiple profiles. Applied left-to-right in profiles order: if any profile drops a frame, later profiles are not consulted for that frame. Delays accumulate.
Drop every frame in direction.
Drop each frame independently with probability probability in direction.
Drop only the frames whose 0-based send index appears in frameIndexes.
No faults — all frames delivered in order.
Buffer up to windowSize frames then emit them in a randomised order.