Struct IPCNetworkInterface | Unity Transport | 0.3.1-preview.4
docs.unity3d.com
    Show / Hide Table of Contents

    Struct IPCNetworkInterface

    Namespace: Unity.Networking.Transport
    Syntax
    public struct IPCNetworkInterface : INetworkInterface, IDisposable

    Properties

    LocalEndPoint

    Declaration
    public NetworkInterfaceEndPoint LocalEndPoint { get; }
    Property Value
    Type Description
    NetworkInterfaceEndPoint
    Implements
    INetworkInterface.LocalEndPoint

    Methods

    Bind(NetworkInterfaceEndPoint)

    Declaration
    public int Bind(NetworkInterfaceEndPoint endpoint)
    Parameters
    Type Name Description
    NetworkInterfaceEndPoint endpoint
    Returns
    Type Description
    Int32
    Implements
    INetworkInterface.Bind(NetworkInterfaceEndPoint)

    CreateInterfaceEndPoint(NetworkEndPoint)

    Declaration
    public NetworkInterfaceEndPoint CreateInterfaceEndPoint(NetworkEndPoint endPoint)
    Parameters
    Type Name Description
    NetworkEndPoint endPoint
    Returns
    Type Description
    NetworkInterfaceEndPoint
    Implements
    INetworkInterface.CreateInterfaceEndPoint(NetworkEndPoint)

    CreateSendInterface()

    Declaration
    public NetworkSendInterface CreateSendInterface()
    Returns
    Type Description
    NetworkSendInterface
    Implements
    INetworkInterface.CreateSendInterface()

    Dispose()

    Declaration
    public void Dispose()

    GetGenericEndPoint(NetworkInterfaceEndPoint)

    Declaration
    public NetworkEndPoint GetGenericEndPoint(NetworkInterfaceEndPoint endpoint)
    Parameters
    Type Name Description
    NetworkInterfaceEndPoint endpoint
    Returns
    Type Description
    NetworkEndPoint
    Implements
    INetworkInterface.GetGenericEndPoint(NetworkInterfaceEndPoint)

    Initialize(INetworkParameter[])

    Declaration
    public void Initialize(params INetworkParameter[] param)
    Parameters
    Type Name Description
    INetworkParameter[] param
    Implements
    INetworkInterface.Initialize(INetworkParameter[])

    ScheduleReceive(NetworkPacketReceiver, JobHandle)

    Declaration
    public JobHandle ScheduleReceive(NetworkPacketReceiver receiver, JobHandle dep)
    Parameters
    Type Name Description
    NetworkPacketReceiver receiver
    JobHandle dep
    Returns
    Type Description
    JobHandle
    Implements
    INetworkInterface.ScheduleReceive(NetworkPacketReceiver, JobHandle)

    ScheduleSend(NativeQueue<QueuedSendMessage>, JobHandle)

    Declaration
    public JobHandle ScheduleSend(NativeQueue<QueuedSendMessage> sendQueue, JobHandle dep)
    Parameters
    Type Name Description
    NativeQueue<QueuedSendMessage> sendQueue
    JobHandle dep
    Returns
    Type Description
    JobHandle
    Implements
    INetworkInterface.ScheduleSend(NativeQueue<QueuedSendMessage>, JobHandle)
    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