Click or drag to resize

IUDPTransport Interface

[This is preliminary documentation and is subject to change.]

A UDP transport

Namespace:  MLAPI.Transports
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public interface IUDPTransport
Request Example View Source

The IUDPTransport type exposes the following members.

Properties
  NameDescription
Public propertyInternalChannel
The channelType the Internal library will use
Public propertyServerClientId
The clientId the transport identifies as the server, should be constant
Top
Methods
  NameDescription
Public methodAddChannel
Adds a channel with a specific type
Public methodConnect
Connects client to server
Public methodDisconnectClient
Disconnects a client from the server
Public methodDisconnectFromServer
Disconnects client from the server
Public methodGetCurrentRTT
Gets the round trip time for a specific client
Public methodGetNetworkTimestamp
Gets a timestamp to be used for calculating latency
Public methodGetRemoteDelayTimeMS
Gets a delay in miliseconds based on a timestamp
Public methodGetSettings
Inits the transport and returns a settings object to be used for listening, connecting and registering channels
Public methodPollReceive
Polls for incomming events
Public methodQueueMessageForSending
Queues a message for sending.
Public methodRegisterServerListenSocket
Starts to listen for incomming clients.
Public methodSendQueue
Sends queued messages for a specific clientId
Public methodShutdown
Shuts down the transport
Top
See Also