Class PacketBuffer
A packet buffer. This stores packets that are queued for later execution.
Namespace: FNNLib.Messaging
Assembly: FNNLib.dll
Syntax
public class PacketBuffer
Properties
| Improve this Doc View Sourcecount
Number of packets in the queue.
Declaration
public int count { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Methods
| Improve this Doc View SourceEnqueue(BufferedPacket)
Enqueue a buffered packet.
Declaration
public void Enqueue(BufferedPacket packet)
Parameters
| Type | Name | Description |
|---|---|---|
| BufferedPacket | packet | The buffered packet. |
ExecutePending()
Execute the oldest packet in the buffer.
Declaration
public void ExecutePending()
PurgeOldPackets()
Purge all old packets.
Declaration
public void PurgeOldPackets()