![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TrafficControl.h>
Public Member Functions | |
| ENGINE_API | FNetworkTrafficAnalyzer (FNetworkCongestionControl *InTrafficControlModule) |
| ENGINE_API void | OnAck (const FAckSample &AckSample) |
| ENGINE_API void | OnSend (const FSeqSample &SeqSample) |
| double | GetLatestRTT () const |
| uint32 | GetBytesInFlight () const |
| uint32 | GetPacketsInFlight () const |
A Network traffic analyzer that keeps track of useful information including the RTT and uplink bandwidth of the latest received packet to help the congestion control module work. It uses seq and ack mechanism to track packet and use timestamp and packet size to calculate RTT and bandwidth.
| FNetworkTrafficAnalyzer::FNetworkTrafficAnalyzer | ( | FNetworkCongestionControl * | InTrafficControlModule | ) |
|
inline |
|
inline |
|
inline |
| void FNetworkTrafficAnalyzer::OnAck | ( | const FAckSample & | AckSample | ) |
| void FNetworkTrafficAnalyzer::OnSend | ( | const FSeqSample & | SeqSample | ) |