docs.unity3d.com
    Show / Hide Table of Contents

    Struct NetworkPipelineStage

    The network pipeline stage

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Networking.Transport
    Syntax
    public struct NetworkPipelineStage

    Constructors

    NetworkPipelineStage(TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate>, TransportFunctionPointer<NetworkPipelineStage.SendDelegate>, TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate>, Int32, Int32, Int32, Int32, Int32)

    Initializes a new instance of the NetworkPipelineStage class

    Declaration
    public NetworkPipelineStage(TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> Receive, TransportFunctionPointer<NetworkPipelineStage.SendDelegate> Send, TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> InitializeConnection, int ReceiveCapacity, int SendCapacity, int HeaderCapacity, int SharedStateCapacity, int PayloadCapacity = 0)
    Parameters
    Type Name Description
    TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> Receive

    The receive

    TransportFunctionPointer<NetworkPipelineStage.SendDelegate> Send

    The send

    TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> InitializeConnection

    The initialize connection

    Int32 ReceiveCapacity

    The receive capacity

    Int32 SendCapacity

    The send capacity

    Int32 HeaderCapacity

    The header capacity

    Int32 SharedStateCapacity

    The shared state capacity

    Int32 PayloadCapacity

    The payload capacity

    Fields

    HeaderCapacity

    The header capacity

    Declaration
    public readonly int HeaderCapacity
    Field Value
    Type Description
    Int32

    InitializeConnection

    InitializeConnection function pointer

    Declaration
    public TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> InitializeConnection
    Field Value
    Type Description
    TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate>

    PayloadCapacity

    The payload capacity

    Declaration
    public readonly int PayloadCapacity
    Field Value
    Type Description
    Int32

    Receive

    Receive function pointer

    Declaration
    public TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> Receive
    Field Value
    Type Description
    TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate>

    ReceiveCapacity

    The receive capacity

    Declaration
    public readonly int ReceiveCapacity
    Field Value
    Type Description
    Int32

    Send

    Send function pointer

    Declaration
    public TransportFunctionPointer<NetworkPipelineStage.SendDelegate> Send
    Field Value
    Type Description
    TransportFunctionPointer<NetworkPipelineStage.SendDelegate>

    SendCapacity

    The send capacity

    Declaration
    public readonly int SendCapacity
    Field Value
    Type Description
    Int32

    SharedStateCapacity

    The shared state capacity

    Declaration
    public readonly int SharedStateCapacity
    Field Value
    Type Description
    Int32
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023