PathSnapshot

data class PathSnapshot(var id: String, var isSelected: Boolean, var remoteAddr: String, var isIp: Boolean, var isRelay: Boolean, var rttMs: ULong, var stats: PathStatsRecord)

A flat snapshot of an open path's state.

Constructors

Link copied to clipboard
constructor(id: String, isSelected: Boolean, remoteAddr: String, isIp: Boolean, isRelay: Boolean, rttMs: ULong, stats: PathStatsRecord)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var id: String

Opaque path identifier rendered as a string (upstream PathId is a u32 wrapper but exposes no public accessor).

Link copied to clipboard

True if this is a direct IP path.

Link copied to clipboard

True if this is a relay path.

Link copied to clipboard

True if this path is currently selected for application data.

Link copied to clipboard

The remote transport address as a string. For IP paths this is ip:port; for relay paths this is the relay URL.

Link copied to clipboard

RTT estimate in milliseconds (sampled from the live QUIC state).

Link copied to clipboard

Flat headline statistics for this path.