|
| FORCEINLINE bool | DoesRestartedHandshakeMatch (StatelessConnectHandlerComponent &NetConnComponent) const |
| | When a restarted handshake is completed, this is used to match it up with the existing NetConnection 更多...
|
| |
| FORCEINLINE void | GetChallengeSequence (int32 &OutServerSequence, int32 &OutClientSequence) const |
| | Used for retrieving the initial packet sequence values from the handshake data, after a successful challenge 更多...
|
| |
| FORCEINLINE bool | HasPassedChallenge (const FString &Address) const |
| | Whether or not the specified connection address, has just passed the connection handshake challenge. 更多...
|
| |
| FORCEINLINE bool | HasPassedChallenge (const FString &Address, bool &bOutRestartedHandshake) const |
| | Whether or not the specified connection address, has just passed the connection handshake challenge. 更多...
|
| |
| FORCEINLINE bool | HasPassedChallenge (const TSharedPtr< const FInternetAddr > &Address, bool &bOutRestartedHandshake) const |
| | Whether or not the specified connection address, has just passed the connection handshake challenge. 更多...
|
| |
| void | InitFromConnectionless (StatelessConnectHandlerComponent *InConnectionlessHandler) |
| | Initializes a serverside UNetConnection-associated StatelessConnect, from the connectionless StatelessConnect that negotiated the handshake. 更多...
|
| |
|
virtual bool | IsValid () const override |
| | Return whether this handler is valid
|
| |
|
virtual void | NotifyHandshakeBegin () override |
| | Notification to this component that it is ready to begin handshaking
|
| |
|
FORCEINLINE void | ResetChallengeData () |
| | Used to reset cached handshake success/fail state, when done processing it
|
| |
| void | SetDriver (UNetDriver *InDriver) |
| | Sets the net driver this handler is associated with 更多...
|
| |
|
| StatelessConnectHandlerComponent () |
| | Base constructor
|
| |
Public 成员函数 继承自 HandlerComponent |
| virtual bool | CanReadUnaligned () const |
| | Whether or not the Incoming/IncomingConnectionless implementations, support reading Packets that aren't aligned at bit position 0 (i.e. 更多...
|
| |
|
FName | GetName () const |
| | Returns the name of this component.
|
| |
| virtual int32 | GetReservedPacketBits () const =0 |
| | Returns the amount of reserved packet/protocol bits expected from this component. 更多...
|
| |
|
| HandlerComponent () |
| | Base constructor
|
| |
|
| HandlerComponent (FName InName) |
| | Constructor that accepts a name
|
| |
| virtual void | Incoming (FBitReader &Packet) |
| | Handles incoming packets 更多...
|
| |
| virtual void | IncomingConnectionless (FIncomingPacketRef PacketRef) |
| | Handles incoming packets not associated with a UNetConnection 更多...
|
| |
|
virtual void | Initialize ()=0 |
| | Initialization functionality should be placed here
|
| |
|
virtual bool | IsActive () const |
| | Returns whether this handler is currently active
|
| |
|
bool | IsInitialized () const |
| | Returns whether this handler is initialized
|
| |
|
virtual bool | IsValid () const =0 |
| | Return whether this handler is valid
|
| |
| virtual void | NotifyAnalyticsProvider () |
| | Notification that the analytics provider has been updated NOTE: Can also mean disabled, e.g. 更多...
|
| |
|
virtual void | NotifyHandshakeBegin () |
| | Notification to this component that it is ready to begin handshaking
|
| |
| virtual void | Outgoing (FBitWriter &Packet, FOutPacketTraits &Traits) |
| | Handles any outgoing packets 更多...
|
| |
| virtual void | OutgoingConnectionless (const TSharedPtr< const FInternetAddr > &Address, FBitWriter &Packet, FOutPacketTraits &Traits) |
| | Handles any outgoing packets not associated with a UNetConnection 更多...
|
| |
|
bool | RequiresHandshake () const |
| | Returns whether this handler perform a network handshake during initialization
|
| |
|
bool | RequiresReliability () const |
| | Returns whether this handler perform a network handshake during initialization
|
| |
| virtual void | SetActive (bool Active) |
| | Sets whether this handler is currently active 更多...
|
| |
|
virtual void | Tick (float DeltaTime) |
| | Tick functionality should be placed here
|
| |
|
virtual | ~HandlerComponent () |
| | Base destructor
|
| |
|
| virtual bool | CanReadUnaligned () const override |
| | Whether or not the Incoming/IncomingConnectionless implementations, support reading Packets that aren't aligned at bit position 0 (i.e. 更多...
|
| |
| virtual int32 | GetReservedPacketBits () const override |
| | Returns the amount of reserved packet/protocol bits expected from this component. 更多...
|
| |
| virtual void | Incoming (FBitReader &Packet) override |
| | Handles incoming packets 更多...
|
| |
| virtual void | IncomingConnectionless (FIncomingPacketRef PacketRef) override |
| | Handles incoming packets not associated with a UNetConnection 更多...
|
| |
|
virtual void | Initialize () override |
| | Initialization functionality should be placed here
|
| |
| virtual void | Outgoing (FBitWriter &Packet, FOutPacketTraits &Traits) override |
| | Handles any outgoing packets 更多...
|
| |
|
virtual void | Tick (float DeltaTime) override |
| | Tick functionality should be placed here
|
| |
Protected 成员函数 继承自 HandlerComponent |
|
void | Initialized () |
| | Should be called when the handler is fully initialized on both remote and local
|
| |
| void | SetState (Handler::Component::State State) |
| | Sets the state of the handler 更多...
|
| |
PacketHandler component for implementing a stateless (non-memory-consuming) connection handshake
Partially based on the Datagram Transport Layer Security protocol.