Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Net/NetPacketNotify.h |
Include |
#include "Net/NetPacketNotify.h" |
class FNetPacketNotify
FNetPacketNotify - Drives delivery of sequence numbers, acknowledgments and notifications of delivery sequence numbers
Name | Description | |
---|---|---|
|
FNetPacketNotify() |
Constructor |
Name | Description | ||
---|---|---|---|
|
AckSeq ( |
Mark Seq as received and update current InSeq, missing sequence numbers will be marked as lost |
|
|
CanSend() |
If we do have more unacknowledged sequence numbers in-flight than our maximum sendwindow we should not send more as the receiving end will not be able to detect if the sequence number has wrapped around |
|
|
SequenceNumb... |
CommitAndIncrementOutSeq() |
Increment outgoing seq number and commit data |
|
GetCurrentSequenceHistoryLength() |
Get the current sequenceHistory length in bits |
|
|
SequenceNumb... |
GetInAckSeq() |
Get the last received sequence number that we have accepted, InAckSeq cannot be larger than InSeq |
|
SequenceNumb... |
GetInSeq() |
Get the last received in sequence number |
|
const Sequen... |
GetInSeqHistory() |
Get the current SequenceHistory |
|
SequenceNumb... |
GetOutAckSeq() |
Get the last outgoing sequence number acknowledged by remote |
|
SequenceNumb... |
GetOutSeq() |
Get the current outgoing sequence number |
|
SequenceNumb... |
GetSequenceDelta ( |
Gets the delta between the present sequence, and the sequence inside the specified header - if the delta is positive |
|
Init ( |
Init notification with expected initial sequence numbers |
|
|
NakSeq ( |
Explicitly mark Seq as not received and update current InSeq, additional missing sequence numbers will be marked as lost |
|
|
ReadHeader ( |
Read header from stream |
|
|
SequenceNumb... |
Update ( |
Update state of PacketNotification based on received header and invoke packet notifications for received acks. |
|
WriteHeader ( |
Write NotificationHeader, and update outgoing ack record if bRefresh is true we will attempt to refresh a previously written header if the resulting size will be the same as the already written header. |
Name |
Description |
|
---|---|---|
|
FNotificationHeader |
Name |
Description |
---|---|
AckRecordT |
|
SequenceHistoryT |
|
SequenceNumberT |
Name |
Description |
---|---|
MaxSequenceHistoryLength |
|
SequenceNumberBits |