Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem > API/Runtime/IrisCore/Iris/ReplicationSystem/NetBlob
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/NetBlob/ReliableNetBlobQueue.h |
| Include | #include "Iris/ReplicationSystem/NetBlob/ReliableNetBlobQueue.h" |
Syntax
class FReliableNetBlobQueue
Remarks
Helper class to deliver blobs reliably in order.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CommitReplicationRecord
(
const FReplicationRecord& Record |
Call after a packet containing serialized data was sent. | |
| void | DequeueUnreliable
(
TArray< TRefCountPtr< FNetBlob > >& Unreliable |
On the receiving end this will move all received unreliable NetBlobs to the array and release them from the queue. | |
| uint32 | Deserialize
(
FNetSerializationContext& Context |
Deserializes blobs with object using their respective Deserialize() method. | |
| uint32 | DeserializeWithObject
(
FNetSerializationContext& Context, |
Deserializes blobs with object using their respective DeserializeWithObject() method. | |
| bool | Enqueue
(
const TRefCountPtr< FNetBlob >& Blob |
Put a blob to be sent in the queue. | |
| uint32 | Returns the number of blobs that have not yet been sent. | ||
| bool | Returns true if there are unsent blobs. | ||
| bool | Returns whether all blobs have been sent and acknowledged as received. | ||
| bool | Returns true if it's safe to destroy this queue. | ||
| bool | Returns whether the send window is full or not. | ||
| const TRefCountPtr< FNetBlob > * | Peek () |
On the receiving end this will return a pointer to the next blob that can be processed. | |
| void | Pop () |
On the receiving end this will remove the next blob to be processed from the queue. | |
| void | ProcessPacketDeliveryStatus
(
EPacketDeliveryStatus Status, |
For each packet for which CommitReplicationRecord() was called ProcessPacketDeliveryStatus() needs to be called in the same order when it's known whether the packet was delivered or not. | |
| uint32 | Serialize
(
FNetSerializationContext& Context, |
Serializes as many blobs as possible using their respective Serialize() method. | |
| uint32 | SerializeWithObject
(
FNetSerializationContext& Context, |
Serializes as many blobs as possible using their respective SerializeWithObject() method. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FReplicationRecord |
Enums
| Type | Name | Description | |
|---|---|---|---|
| Constants |
Constants
| Name | Description |
|---|---|
| MaxUnackedBlobCount | This represents a ReplicationRecord where nothing was serialized. |