Lines Matching refs:ctx_
92 ctx_(context), in HeartbeatHandler()
120 interval_timer_->set_duration(interval_duration_ + ctx_->current_rto()); in RestartTimer()
134 ctx_->Send(ctx_->PacketBuilder().Add( in HandleHeartbeatRequest()
142 ctx_->callbacks().OnError( in HandleHeartbeatAck()
150 ctx_->callbacks().OnError(ErrorKind::kParseFailed, in HandleHeartbeatAck()
156 TimeMs now = ctx_->callbacks().TimeMillis(); in HandleHeartbeatAck()
158 ctx_->ObserveRTT(now - info->created_at()); in HandleHeartbeatAck()
164 ctx_->ClearTxErrorCounter(); in HandleHeartbeatAck()
168 if (ctx_->is_connection_established()) { in OnIntervalTimerExpiry()
169 HeartbeatInfo info(ctx_->callbacks().TimeMillis()); in OnIntervalTimerExpiry()
170 timeout_timer_->set_duration(ctx_->current_rto()); in OnIntervalTimerExpiry()
179 ctx_->Send(ctx_->PacketBuilder().Add( in OnIntervalTimerExpiry()
193 ctx_->IncrementTxErrorCounter("HEARTBEAT timeout"); in OnTimeoutTimerExpiry()