docs.unity3d.com
    Show / Hide Table of Contents

    Class SoakClient

    Inheritance
    Object
    SoakClient
    Namespace: Unity.Networking.Transport.Samples
    Syntax
    public class SoakClient : IDisposable

    Constructors

    SoakClient(Double, Int32, Int32)

    Declaration
    public SoakClient(double sendInterval, int packetSize, int duration)
    Parameters
    Type Name Description
    Double sendInterval
    Int32 packetSize
    Int32 duration

    Fields

    ConnectionHandle

    Declaration
    public NativeArray<NetworkConnection> ConnectionHandle
    Field Value
    Type Description
    NativeArray<NetworkConnection>

    CustomIp

    Declaration
    public string CustomIp
    Field Value
    Type Description
    String

    DriverHandle

    Declaration
    public NetworkDriver DriverHandle
    Field Value
    Type Description
    NetworkDriver

    PendingSoakMessages

    Declaration
    public NativeArray<SoakMessage> PendingSoakMessages
    Field Value
    Type Description
    NativeArray<SoakMessage>

    Pipeline

    Declaration
    public NetworkPipeline Pipeline
    Field Value
    Type Description
    NetworkPipeline

    ReliableStageId

    Declaration
    public NetworkPipelineStageId ReliableStageId
    Field Value
    Type Description
    NetworkPipelineStageId

    ServerEndPoint

    Declaration
    public NetworkEndPoint ServerEndPoint
    Field Value
    Type Description
    NetworkEndPoint

    SimulatorStageId

    Declaration
    public NetworkPipelineStageId SimulatorStageId
    Field Value
    Type Description
    NetworkPipelineStageId

    SoakJobContextsHandle

    Declaration
    public NativeArray<SoakJobContext> SoakJobContextsHandle
    Field Value
    Type Description
    NativeArray<SoakJobContext>

    SoakJobDataPacket

    Declaration
    public NativeArray<byte> SoakJobDataPacket
    Field Value
    Type Description
    NativeArray<Byte>

    SoakStatisticsHandle

    Declaration
    public NativeArray<SoakStatisticsPoint> SoakStatisticsHandle
    Field Value
    Type Description
    NativeArray<SoakStatisticsPoint>

    UpdateHandle

    Declaration
    public JobHandle UpdateHandle
    Field Value
    Type Description
    JobHandle

    Methods

    Dispose()

    Declaration
    public void Dispose()

    DumpSimulatorStatistics()

    Declaration
    public void DumpSimulatorStatistics()

    PreUpdate()

    Declaration
    public void PreUpdate()

    Sample()

    Declaration
    public SoakStatisticsPoint Sample()
    Returns
    Type Description
    SoakStatisticsPoint

    Start(NetworkEndPoint)

    Declaration
    public void Start(NetworkEndPoint endpoint)
    Parameters
    Type Name Description
    NetworkEndPoint endpoint

    Stop()

    Declaration
    public void Stop()

    Update()

    Declaration
    public void Update()
    Back to top
    Terms of use
    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