Class for reconstructing packet chunks into the original unsegmented packet. More...
#include <UdpFragmentQueue.h>
Public Member Functions | |
void | Update () |
Updates the UdpFragmentQueue timeout queue. | |
void | Reset () |
Resets all internal state. | |
SequenceId | GetNextFragmentedSequenceId () |
Returns the next (outgoing) fragmented sequenceId for this FragmentQueue instance. | |
PacketDispatchResult | ProcessReceivedChunk (UdpConnection *connection, IConnectionListener &connectionListener, UdpPacketHeader &header, ISerializer &serializer) |
Class for reconstructing packet chunks into the original unsegmented packet.
PacketDispatchResult AzNetworking::UdpFragmentQueue::ProcessReceivedChunk | ( | UdpConnection * | connection, |
IConnectionListener & | connectionListener, | ||
UdpPacketHeader & | header, | ||
ISerializer & | serializer | ||
) |
Processes a received chunk and delivers the final reconstructed packet if possible.
connection | pointer to the connection this packet chunk was received on |
connectionListener | the connection listener for delivery of completed packets |
header | the chunk packet header |
serializer | the serializer containing the chunk body |