Class MockEmitterOptions
- Namespace
- Kuestenlogik.Bowire.Mocking
- Assembly
- Kuestenlogik.Bowire.dll
The subset of mock-server configuration that
IBowireMockEmitter implementations actually consume.
Kept deliberately small so plugin authors don't have to take a
compile-time dependency on the full MockOptions shape —
which carries server-only concerns (matchers, chaos injection,
stateful-cursor bookkeeping) that don't apply to emitters.
public sealed class MockEmitterOptions
- Inheritance
-
MockEmitterOptions
- Inherited Members
Remarks
The mock server constructs an instance of this type from its own
MockOptions and passes it to every emitter's
StartAsync(BowireRecording, MockEmitterOptions, ILogger, CancellationToken). Downstream emitter
code reads ReplaySpeed and Loop
without any knowledge of the matchers / chaos knobs the server
is using.
Constructors
MockEmitterOptions()
public MockEmitterOptions()
Properties
Loop
When true, proactive emitters replay their step sequence
on repeat. Has no effect on request-driven replay paths — those
are handled by the mock server's matcher, not by emitters.
public bool Loop { get; set; }
Property Value
ReplaySpeed
Speed multiplier for streaming replay. 1.0 preserves the
original cadence captured on the per-frame timestampMs;
2.0 is twice as fast; 0 emits every frame
immediately. Non-positive values other than 0 are
treated as 0.
public double ReplaySpeed { get; set; }