2026-08-24 06:41:47 +09:00
|
|
|
/// Raw result from an iperf3 execution.
|
|
|
|
|
class Iperf3Result {
|
|
|
|
|
final String rawOutput;
|
|
|
|
|
final int exitCode;
|
|
|
|
|
|
2026-08-26 19:03:59 +09:00
|
|
|
/// Whether the run ended because the user asked it to stop, rather than
|
|
|
|
|
/// finishing its configured duration or failing.
|
|
|
|
|
final bool stopped;
|
|
|
|
|
|
2026-08-24 06:41:47 +09:00
|
|
|
const Iperf3Result({
|
|
|
|
|
required this.rawOutput,
|
|
|
|
|
required this.exitCode,
|
2026-08-26 19:03:59 +09:00
|
|
|
this.stopped = false,
|
2026-08-24 06:41:47 +09:00
|
|
|
});
|
|
|
|
|
}
|