| HandlerComponent
|
Module |
|
Header |
/Engine/Plugins/Compression/OodleNetwork/Source/Public/OodleNetworkHandlerComponent.h |
Include |
#include "OodleNetworkHandlerComponent.h" |
class OodleNetworkHandlerComponent : public HandlerComponent
PacketHandler component for implementing Oodle support.
Implementation uses trained/dictionary-based UDP compression.
Name | Description | ||
---|---|---|---|
|
bCaptureMode |
Whether or not packet capturing is currently enabled (outputs uncompressed packets to file) |
|
|
bEnableOodle |
Whether or not Oodle, and its additions to the packet protocol, are enabled |
|
|
bInitializedDictionaries |
Whether or not InitializeDictionaries was ever called |
|
|
bOodleNetworkAnalytics |
Whether or not Oodle analytics is enabled - cached from NetAnalyticsData, for fast checking |
|
|
bUseDictionaryIfPresent |
Search for dictionary files and use them if present - switching mode to Release in process - don't use in shipping |
|
|
TSharedPtr< FOo... |
ClientDictionary |
Client (Incoming - relative to server) dictionary data |
|
ClientEnableMode |
When to enable compression on the client |
|
|
InPacketLog |
File to log input packets to |
|
|
NetAnalyticsData |
The net analytics aggregator data, which will take the above locally tracked variables, once they are complete |
|
|
OodleReservedPacketBits |
Cached reserved packet bits for Oodle |
|
|
OutPacketLog |
File to log output packets to |
|
|
TSharedPtr< FOo... |
ServerDictionary |
Server (Outgoing) dictionary data |
|
ServerEnableMode |
When to enable compression on the server |
Name | Description | |
---|---|---|
|
OodleNetworkHandlerComponent() |
Initializes default data |
Name | Description | |
---|---|---|
|
~OodleNetworkHandlerComponent() |
Default Destructor |
Name | Description | ||
---|---|---|---|
|
FindFallbackDictionaries |
Searches the game directory for alternate/fallback dictionary files, using the *.udic file extension. |
|
|
FreeDictionary |
Frees the local reference to FOodleNetworkDictionary data, and removes it from memory if it was the last reference |
|
|
FreePacketLogs() |
Frees the packet capture archives |
|
|
GetDictionaryPaths |
Resolves and returns the default dictionary file paths. |
|
|
InitFirstRunConfig() |
Initializes first-run config settings |
|
|
InitializeDictionaries() |
Initializes all required dictionaries |
|
|
InitializeDictionary ( |
Initializes FOodleNetworkDictionary data, from the specified dictionary file |
|
|
InitializePacketLogs() |
Initializes the packet capture archives |
|
|
IsCompressionActive() |
Check if component is currently compressing packets |
|
|
RemoteInitializeDictionaries() |
Lazy dictionary initialization, triggered by receiving a compressed packet from the remote connection |
Name | Description | ||
---|---|---|---|
|
CountBytes ( |
||
|
GetReservedPacketBits() |
Returns the amount of reserved packet/protocol bits expected from this component. |
|
|
Incoming ( |
Handles incoming packets |
|
|
Initialize() |
Initialization functionality should be placed here |
|
|
IsValid() |
Return whether this handler is valid |
|
|
NotifyAnalyticsProvider() |
Notification that the analytics provider has been updated |
|
|
Outgoing ( |
Handles any outgoing packets |