Skip to main content

MLAPI.Transports.Multiplex.MultiplexTransportAdapter

Multiplex transport adapter.

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Inherited Members#

NetworkTransport.OnChannelRegistration

NetworkTransport.MLAPI_CHANNELS

NetworkTransport.OnTransportEvent

NetworkTransport.InvokeOnTransportEvent(NetworkEvent, UInt64, NetworkChannel, ArraySegment<Byte>, Single)

MonoBehaviour.IsInvoking()

MonoBehaviour.CancelInvoke()

MonoBehaviour.Invoke(String, Single)

MonoBehaviour.InvokeRepeating(String, Single, Single)

MonoBehaviour.CancelInvoke(String)

MonoBehaviour.IsInvoking(String)

MonoBehaviour.StartCoroutine(String)

MonoBehaviour.StartCoroutine(String, Object)

MonoBehaviour.StartCoroutine(IEnumerator)

MonoBehaviour.StartCoroutine_Auto(IEnumerator)

MonoBehaviour.StopCoroutine(IEnumerator)

MonoBehaviour.StopCoroutine(Coroutine)

MonoBehaviour.StopCoroutine(String)

MonoBehaviour.StopAllCoroutines()

MonoBehaviour.print(Object)

MonoBehaviour.useGUILayout

MonoBehaviour.runInEditMode

Behaviour.enabled

Behaviour.isActiveAndEnabled

Component.GetComponent(Type)

Component.GetComponent<T>()

Component.GetComponent(String)

Component.GetComponentInChildren(Type, Boolean)

Component.GetComponentInChildren(Type)

Component.GetComponentInChildren<T>(Boolean)

Component.GetComponentInChildren<T>()

Component.GetComponentsInChildren(Type, Boolean)

Component.GetComponentsInChildren(Type)

Component.GetComponentsInChildren<T>(Boolean)

Component.GetComponentsInChildren<T>(Boolean, List<T>)"

Component.GetComponentsInChildren<T>()

Component.GetComponentsInChildren<T>(List<T>)"

Component.GetComponentInParent(Type)

Component.GetComponentInParent<T>()

Component.GetComponentsInParent(Type, Boolean)

Component.GetComponentsInParent(Type)

Component.GetComponentsInParent<T>(Boolean)

Component.GetComponentsInParent<T>(Boolean, List<T>)"

Component.GetComponentsInParent<T>()

Component.GetComponents(Type)

Component.GetComponents(Type, List<Component>)

Component.GetComponents<T>(List<T>)"

Component.GetComponents<T>()

Component.CompareTag(String)

Component.SendMessageUpwards(String, Object, SendMessageOptions)

Component.SendMessageUpwards(String, Object)

Component.SendMessageUpwards(String)

Component.SendMessageUpwards(String, SendMessageOptions)

Component.SendMessage(String, Object)

Component.SendMessage(String)

Component.SendMessage(String, Object, SendMessageOptions)

Component.SendMessage(String, SendMessageOptions)

Component.BroadcastMessage(String, Object, SendMessageOptions)

Component.BroadcastMessage(String, Object)

Component.BroadcastMessage(String)

Component.BroadcastMessage(String, SendMessageOptions)

Component.transform

Component.gameObject

Component.tag

Component.rigidbody

Component.rigidbody2D

Component.camera

Component.light

Component.animation

Component.constantForce

Component.renderer

Component.audio

Component.guiText

Component.networkView

Component.guiElement

Component.guiTexture

Component.collider

Component.collider2D

Component.hingeJoint

Component.particleEmitter

Component.particleSystem

Object.GetInstanceID()

Object.GetHashCode()

Object.Equals(Object)

Object.Instantiate(Object, Vector3, Quaternion)

Object.Instantiate(Object, Vector3, Quaternion, Transform)

Object.Instantiate(Object)

Object.Instantiate(Object, Transform)

Object.Instantiate(Object, Transform, Boolean)

Object.Instantiate<T>(T)"

Object.Instantiate<T>(T, Vector3, Quaternion)"

Object.Instantiate<T>(T, Vector3, Quaternion, Transform)"

Object.Instantiate<T>(T, Transform)"

Object.Instantiate<T>(T, Transform, Boolean)"

Object.Destroy(Object, Single)

Object.Destroy(Object)

Object.DestroyImmediate(Object, Boolean)

Object.DestroyImmediate(Object)

Object.FindObjectsOfType(Type)

Object.DontDestroyOnLoad(Object)

Object.DestroyObject(Object, Single)

Object.DestroyObject(Object)

Object.FindSceneObjectsOfType(Type)

Object.FindObjectsOfTypeIncludingAssets(Type)

Object.FindObjectsOfType<T>()

Object.FindObjectOfType<T>()

Object.FindObjectsOfTypeAll(Type)

Object.FindObjectOfType(Type)

Object.ToString()

Object.name

Object.hideFlags

Object.Equals(Object, Object)

Object.GetType()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public class MultiplexTransportAdapter : NetworkTransport

Fields#

SpreadMethod#

Declaration#

public MultiplexTransportAdapter.ConnectionIdSpreadMethod SpreadMethod

Field Value#

TypeDescription
MultiplexTransportAdapter.ConnectionIdSpreadMethod

Transports#

Declaration#

public NetworkTransport[] Transports

Field Value#

TypeDescription
NetworkTransport[]

Properties#

IsSupported#

Declaration#

public override bool IsSupported { get; }

Property Value#

TypeDescription
System.Boolean

Overrides#

NetworkTransport.IsSupported

ServerClientId#

Declaration#

public override ulong ServerClientId { get; }

Property Value#

TypeDescription
System.UInt64

Overrides#

NetworkTransport.ServerClientId

Methods#

DisconnectLocalClient()#

Declaration#

public override void DisconnectLocalClient()

Overrides#

NetworkTransport.DisconnectLocalClient()

DisconnectRemoteClient(UInt64)#

Declaration#

public override void DisconnectRemoteClient(ulong clientId)

Parameters#

TypeNameDescription
System.UInt64clientId

Overrides#

NetworkTransport.DisconnectRemoteClient(UInt64)

GetCurrentRtt(UInt64)#

Declaration#

public override ulong GetCurrentRtt(ulong clientId)

Parameters#

TypeNameDescription
System.UInt64clientId

Returns#

TypeDescription
System.UInt64

Overrides#

NetworkTransport.GetCurrentRtt(UInt64)

GetFirstSupportedTransportIndex()#

Declaration#

public byte GetFirstSupportedTransportIndex()

Returns#

TypeDescription
System.Byte

GetMLAPIClientId(Byte, UInt64, Boolean)#

Declaration#

public ulong GetMLAPIClientId(byte transportId, ulong connectionId, bool isServer)

Parameters#

TypeNameDescription
System.BytetransportId
System.UInt64connectionId
System.BooleanisServer

Returns#

TypeDescription
System.UInt64

GetMultiplexTransportDetails(UInt64, out Byte, out UInt64)#

Declaration#

public void GetMultiplexTransportDetails(ulong clientId, out byte transportId, out ulong connectionId)

Parameters#

TypeNameDescription
System.UInt64clientId
System.BytetransportId
System.UInt64connectionId

Init()#

Declaration#

public override void Init()

Overrides#

NetworkTransport.Init()

PollEvent(out UInt64, out NetworkChannel, out ArraySegment<Byte>, out Single)#

Declaration#

public override NetworkEvent PollEvent(out ulong clientId, out NetworkChannel networkChannel, out ArraySegment<byte> payload, out float receiveTime)

Parameters#

TypeNameDescription
System.UInt64clientId
NetworkChannelnetworkChannel
System.ArraySegment<System.Byte>payload
System.SinglereceiveTime

Returns#

TypeDescription
NetworkEvent

Overrides#

NetworkTransport.PollEvent(out UInt64, out NetworkChannel, out ArraySegment<Byte>, out Single)

Send(UInt64, ArraySegment<Byte>, NetworkChannel)#

Declaration#

public override void Send(ulong clientId, ArraySegment<byte> data, NetworkChannel networkChannel)

Parameters#

TypeNameDescription
System.UInt64clientId
System.ArraySegment<System.Byte>data
NetworkChannelnetworkChannel

Overrides#

NetworkTransport.Send(UInt64, ArraySegment<Byte>, NetworkChannel)

Shutdown()#

Declaration#

public override void Shutdown()

Overrides#

NetworkTransport.Shutdown()

StartClient()#

Declaration#

public override SocketTasks StartClient()

Returns#

TypeDescription
SocketTasks

Overrides#

NetworkTransport.StartClient()

StartServer()#

Declaration#

public override SocketTasks StartServer()

Returns#

TypeDescription
SocketTasks

Overrides#

NetworkTransport.StartServer()