Navigation
Unreal Engine C++ API Reference > Runtime > NetCore > Net > Core > Connection
Inheritance Hierarchy
- FNetConnectionFaultRecoveryBase
- FNetConnectionFaultRecovery
References
Module | NetCore |
Header | /Engine/Source/Runtime/Net/Core/Public/Net/Core/Connection/NetConnectionFaultRecoveryBase.h |
Include | #include "Net/Core/Connection/NetConnectionFaultRecoveryBase.h" |
Syntax
class FNetConnectionFaultRecoveryBase
Remarks
Implements the base/public interface for FNetConnectionFaultRecovery - defined here, to eliminate the need for Engine dependencies.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bDisconnected | Whether or not fault recovery has disconnected the NetConnection |
![]() |
FNetResultManager | FaultManager | Fault Manager for attempting to recover from connection faults, before triggering Close |
![]() |
int32 | LastCounterIndex | Tracks the index of the last added counter, before NetFaultEscalationManager is created |
![]() |
TUniquePtr< FNetFaultEscalationHandler > | NetFaultEscalationManager | The escalation manager instance used for tracking/implementing recovery for the various fault types |
![]() |
TArray< FPendingCategoryRegister > | PendingCategories | Tracks counter categories and indexes that are pending registration, before NetFaultEscalationManager is created |
![]() |
TArray< uint32, TInlineAllocator< FMath::Max(static_cast< int32 >ENetFaultCounters::Max), 8)> > | TrackedFaultEnumHashes | Enum/fast-lookup version of TrackedFaults, using GetTypeHash |
![]() |
TPimplPtr< FNetResult, EPimplPtrMode::DeepCopy > | TrackedFaults | Net Faults which are currently being tracked (reset when escalation manager reaches base/normal state) |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | AddNewCounter
(
int32 Count |
Passthrough for TEscalationManager.AddNewCounter (with caching, NetFaultEscalationManager has not been initialized yet) |
![]() |
FNetResultManager & | Accessors Accessor for FaultManager | |
![]() |
FEscalationCounter & | GetFrameCounter
(
int32 CounterIndex |
Passthrough for FEscalationManager.GetFrameCounter |
![]() |
EHandleNetResult | HandleNetResult
(
FNetCloseResult&& InResult |
Convenience Forwarding function for FNetResultManager.HandleNetResult, taking FNetCloseResult/ENetCloseResult |
![]() |
EHandleNetResult | NotifyHandledFault
(
FNetResult&& InResult |
(For Counter Categories) Use this to notify fault recovery of a successfully handled fault it should be aware of, within HandleNetResult; this is required for escalation tracking, if that fault type is registered with a counter category. |
![]() |
void | RegisterCounterCategory
(
ENetFaultCounterCategory Category, |
Passthrough for TEscalationManager.RegisterCounterCategory (with caching, NetFaultEscalationManager has not been initialized yet) |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FPendingCategoryRegister |
Typedefs
Name | Description |
---|---|
FNetFaultEscalationHandler |