Interface INetworkPipelineStage | Unity Transport | 0.2.4-preview.0
docs.unity3d.com
    Show / Hide Table of Contents

    Interface INetworkPipelineStage

    Namespace: Unity.Networking.Transport
    Syntax
    public interface INetworkPipelineStage

    Properties

    HeaderCapacity

    Declaration
    int HeaderCapacity { get; }
    Property Value
    Type Description
    Int32

    ReceiveCapacity

    Declaration
    int ReceiveCapacity { get; }
    Property Value
    Type Description
    Int32

    SendCapacity

    Declaration
    int SendCapacity { get; }
    Property Value
    Type Description
    Int32

    SharedStateCapacity

    Declaration
    int SharedStateCapacity { get; }
    Property Value
    Type Description
    Int32

    Methods

    InitializeConnection(NativeSlice<Byte>, NativeSlice<Byte>, NativeSlice<Byte>)

    Declaration
    void InitializeConnection(NativeSlice<byte> sendProcessBuffer, NativeSlice<byte> recvProcessBuffer, NativeSlice<byte> sharedProcessBuffer)
    Parameters
    Type Name Description
    NativeSlice<Byte> sendProcessBuffer
    NativeSlice<Byte> recvProcessBuffer
    NativeSlice<Byte> sharedProcessBuffer

    Receive(NetworkPipelineContext, NativeSlice<Byte>, ref Boolean, ref Boolean, ref Boolean)

    Declaration
    NativeSlice<byte> Receive(NetworkPipelineContext ctx, NativeSlice<byte> inboundBuffer, ref bool needsResume, ref bool needsUpdate, ref bool needsSendUpdate)
    Parameters
    Type Name Description
    NetworkPipelineContext ctx
    NativeSlice<Byte> inboundBuffer
    Boolean needsResume
    Boolean needsUpdate
    Boolean needsSendUpdate
    Returns
    Type Description
    NativeSlice<Byte>

    Send(NetworkPipelineContext, InboundBufferVec, ref Boolean, ref Boolean)

    Declaration
    InboundBufferVec Send(NetworkPipelineContext ctx, InboundBufferVec inboundBuffer, ref bool needsResume, ref bool needsUpdate)
    Parameters
    Type Name Description
    NetworkPipelineContext ctx
    InboundBufferVec inboundBuffer
    Boolean needsResume
    Boolean needsUpdate
    Returns
    Type Description
    InboundBufferVec
    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