onRttSample abstract method
Called when a new RTT sample is calculated.
cid is the connection ID.
rtt is the raw RTT sample.
smoothedRtt is the smoothed RTT (SRTT).
rttVar is the RTT variance.
Implementation
void onRttSample(ConnectionId cid, Duration rtt, Duration smoothedRtt, Duration rttVar);