UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNetworkTrafficAnalyzer Class Reference

#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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FNetworkTrafficAnalyzer()

FNetworkTrafficAnalyzer::FNetworkTrafficAnalyzer ( FNetworkCongestionControl InTrafficControlModule)

Member Function Documentation

◆ GetBytesInFlight()

uint32 FNetworkTrafficAnalyzer::GetBytesInFlight ( ) const
inline

◆ GetLatestRTT()

double FNetworkTrafficAnalyzer::GetLatestRTT ( ) const
inline

◆ GetPacketsInFlight()

uint32 FNetworkTrafficAnalyzer::GetPacketsInFlight ( ) const
inline

◆ OnAck()

void FNetworkTrafficAnalyzer::OnAck ( const FAckSample AckSample)

◆ OnSend()

void FNetworkTrafficAnalyzer::OnSend ( const FSeqSample SeqSample)

The documentation for this class was generated from the following files: