Search Results for

    Show / Hide Table of Contents

    Class PacketBuffer

    A packet buffer. This stores packets that are queued for later execution.

    Inheritance
    Object
    PacketBuffer
    Namespace: FNNLib.Messaging
    Assembly: FNNLib.dll
    Syntax
    public class PacketBuffer

    Properties

    | Improve this Doc View Source

    count

    Number of packets in the queue.

    Declaration
    public int count { get; }
    Property Value
    Type Description
    Int32

    Methods

    | Improve this Doc View Source

    Enqueue(BufferedPacket)

    Enqueue a buffered packet.

    Declaration
    public void Enqueue(BufferedPacket packet)
    Parameters
    Type Name Description
    BufferedPacket packet

    The buffered packet.

    | Improve this Doc View Source

    ExecutePending()

    Execute the oldest packet in the buffer.

    Declaration
    public void ExecutePending()
    | Improve this Doc View Source

    PurgeOldPackets()

    Purge all old packets.

    Declaration
    public void PurgeOldPackets()
    • Improve this Doc
    • View Source
    In This Article
    Back to top (C) 2020 Reece Mackie. Released under the MIT License.