PacketHandler

Windows
MacOS
Linux

Classes

Name

Description

Public struct

BufferedPacket

PacketHandler will buffer packets, this struct is used to buffer such packets while handler components are initialized

Public class

FDDoSDetection

The main DDoS detection tracking class, for counting packets and applying restrictions.

Public struct

FDDoSPacketCounters

Struct containing the per-second packet counters

Public struct

FDDoSState

Stores the DDoS detection state (either settings from the config file, or the active DDoS detection state)

Public struct

FDDoSStateConfig

DDoS detection state, with functions for applying the state to active DDoS detection

Public class

FEncryptionComponent

IEncryptionComponentInterface

Public struct

FLocalNetAnalyticsStruct

For use with TThreadedNetAnalyticsData - this struct is subclassed, and used to define/hold the analytics variables, that will be tracked/aggregated.

Public class

FNetAnalyticsAggregator

Central object (usually within NetDriver) which handles registration/retrieval/type-checking of net analytics data holders.

Public struct

FNetAnalyticsData

Subclassed struct which holds net analytics data which is aggregated or to-be-aggregated, and dispatched upon SendAnalytics

Public struct

FNetAnalyticsDataConfig

Configuration for FNetAnalyticsData - enabling/disabling analytics data, based on DataName

Public struct

FNetAnalyticsDataDeleter

Custom deleter for FNetAnalyticsData shared pointers

Public struct

FOutPacketTraits

Includes

Public class

FPacketAudit

FPacketAudit

Public class

FPacketHandlerComponentModuleInterface

PacketHandler Module Interface

Public class

HandlerComponent

This class appends or modifies incoming and outgoing packets on a connection

Public class

PacketHandler

This class maintains an array of all PacketHandler Components and forwards incoming and outgoing packets the each component

Public struct

ProcessedPacket

The result of calling Incoming and Outgoing in the PacketHandler

Public struct

TBasicNetAnalyticsData

Basic single-threaded-only (i.e. good for NetConnection level code) analytics data holder, which just wraps around a simple struct, which defines the analytics variables and implements their aggregation.

Public class

UHandlerComponentFactory

A UObject alternative for loading HandlerComponents without strict module dependency

Public class

UNetAnalyticsAggregatorConfig

Configuration for FNetAnalyticsAggregator - loaded PerObjectConfig, for each NetDriverName

Public class

UPacketHandlerProfileConfig

PacketHandler Configuration Profiles based on each NetDriver

Typedefs

Name

Description

FDDoSSeverityEscalation

Includes.

FPacketHandlerHandshakeComplete

Callback for notifying higher-level code that handshaking has completed, and that packets are now ready to send without buffering

FPacketHandlerLowLevelSend

FPacketHandlerLowLevelSendTraits

Delegate for allowing access to LowLevelSend, without a dependency upon Engine.

TNetAnalyticsDataPtr

TNetAnalyticsDataRef

Typedefs.

TNetAnalyticsDataWeakPtr

Enums

Name

Description

Public enum

Handler::Component::State

HandlerComponent State

Public enum

Handler::Mode

Mode of Packet Handler

Public enum

Handler::State

State of PacketHandler

Variables

Name Description

Public variable

TAtomic< uint8 ...

 

GNetAnalyticsCounter

Counter used to detect when a new FNetAnalyticsAggregator (i.e. new NetDriver) has been created - to trigger cleanup of TLS data

Public variable

FPacketAudit &#...

 

GPacketAuditor

The handler for managing packet auditing

Globals

Public variable

constexpr const...

 

NetAnalyticsThreadSafety

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback