Module |
|
Header |
/Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/PacketHandler.h |
Include |
#include "PacketHandler.h" |
class HandlerComponent
This class appends or modifies incoming and outgoing packets on a connection
Name | Description | ||
---|---|---|---|
|
bRequiresHandshake |
Whether this handler has to perform a network handshake during initialization (requires waiting on other HandlerComponent's) |
|
|
bRequiresReliability |
Whether this handler depends upon the ReliabilityHandlerComponent being enabled |
|
|
PacketHandler &... |
Handler |
The manager of the handler, set in initialization |
|
MaxOutgoingBits |
Maximum number of Outgoing packet bits supported (automatically calculated to factor in other HandlerComponent reserved bits) |
|
|
State |
The state of this handler |
Name | Description | |
---|---|---|
|
HandlerComponent() |
Base constructor |
|
HandlerComponent ( |
Constructor that accepts a name |
Name | Description | |
---|---|---|
|
~HandlerComponent() |
Base destructor |
Name | Description | ||
---|---|---|---|
|
CanReadUnaligned() |
Whether or not the Incoming/IncomingConnectionless implementations, support reading Packets that aren't aligned at bit position 0 (i.e. whether or not this handler supports bit-level, rather than byte-level, reads) |
|
|
CountBytes ( |
||
|
GetName() |
Returns the name of this component. |
|
|
GetReservedPacketBits() |
Returns the amount of reserved packet/protocol bits expected from this component. |
|
|
Incoming ( |
Handles incoming packets |
|
|
IncomingConnectionless ( |
Handles incoming packets not associated with a UNetConnection |
|
|
Initialize() |
Initialization functionality should be placed here |
|
|
Initialized() |
Should be called when the handler is fully initialized on both remote and local |
|
|
IsActive() |
Returns whether this handler is currently active |
|
|
IsInitialized() |
Returns whether this handler is initialized |
|
|
IsValid() |
Return whether this handler is valid |
|
|
NotifyAnalyticsProvider() |
Notification that the analytics provider has been updated |
|
|
NotifyHandshakeBegin() |
Notification to this component that it is ready to begin handshaking |
|
|
Outgoing ( |
Handles any outgoing packets |
|
|
OutgoingConnectionless ( |
Handles any outgoing packets not associated with a UNetConnection |
|
|
RequiresHandshake() |
Returns whether this handler perform a network handshake during initialization |
|
|
RequiresReliability() |
Returns whether this handler perform a network handshake during initialization |
|
|
SetActive ( |
Sets whether this handler is currently active |
|
|
SetState ( |
Sets the state of the handler |
|
|
Tick ( |
Tick functionality should be placed here |
Name | Description | ||
---|---|---|---|
|
IncomingConnectionless ( |
Remove this function (no longer pure virtual, same with OutgoingConnectionless), or use the version which takes FReceivedPacketView. |