Interface IProbeExecutor

Namespace
Kuestenlogik.Bowire.Monitoring
Assembly
Kuestenlogik.Bowire.Monitoring.dll

Executes a probe's saved recording and returns the raw response. The concrete implementation replays the recording through the invoke path; the seam keeps the scheduler + runner testable without a live target.

public interface IProbeExecutor

Remarks

A run that can't complete (transport error, timeout, DNS failure, …) is signalled by throwing ProbeExecutionException — the runner records it as an Error outcome. Wrapping the unbounded 3rd-party transport surface in one dedicated exception lets the runner catch precisely that, rather than a general catch-all: an unexpected exception (a genuine bug) still propagates instead of being silently logged as a probe error.

Methods

ExecuteAsync(Probe, CancellationToken)

Run the probe's recording once against its bound target.

Task<ProbeExecutionResult> ExecuteAsync(Probe probe, CancellationToken ct = default)

Parameters

probe Probe
ct CancellationToken

Returns

Task<ProbeExecutionResult>