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

    Struct IPCManager

    Namespace: Unity.Networking.Transport
    Syntax
    public struct IPCManager

    Fields

    Instance

    Declaration
    public static IPCManager Instance
    Field Value
    Type Description
    IPCManager

    Properties

    IsCreated

    Declaration
    public bool IsCreated { get; }
    Property Value
    Type Description
    Boolean

    QueueSize

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

    Methods

    CreateEndPoint(String)

    Create a NetworkEndPoint for IPC. If the EndPoint is passed to Bind the driver will assume ownership, otherwise the EndPoint must be destroyed by calling ReleaseEndPoint.

    Declaration
    public NetworkEndPoint CreateEndPoint(string name = null)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    NetworkEndPoint

    Destroy()

    Declaration
    public void Destroy()

    Initialize(Int32)

    Declaration
    public void Initialize(int receiveQueueSize)
    Parameters
    Type Name Description
    Int32 receiveQueueSize

    PeekNext(NetworkEndPoint, Void*, out Int32, out NetworkEndPoint)

    Declaration
    public int PeekNext(NetworkEndPoint local, void *slice, out int length, out NetworkEndPoint from)
    Parameters
    Type Name Description
    NetworkEndPoint local
    Void* slice
    Int32 length
    NetworkEndPoint from
    Returns
    Type Description
    Int32

    ReceiveMessageEx(NetworkEndPoint, network_iovec*, Int32, ref NetworkEndPoint)

    Declaration
    public int ReceiveMessageEx(NetworkEndPoint local, network_iovec*iov, int iov_len, ref NetworkEndPoint remote)
    Parameters
    Type Name Description
    NetworkEndPoint local
    network_iovec* iov
    Int32 iov_len
    NetworkEndPoint remote
    Returns
    Type Description
    Int32

    ReleaseEndPoint(NetworkEndPoint)

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

    TryGetEndPointByHandle(Int32, out NetworkEndPoint)

    Declaration
    public bool TryGetEndPointByHandle(int handle, out NetworkEndPoint endpoint)
    Parameters
    Type Name Description
    Int32 handle
    NetworkEndPoint endpoint
    Returns
    Type Description
    Boolean
    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