Show / Hide Table of Contents

Class ConnectionConfig

Inheritance
Object
ConnectionConfig
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.Networking
Assembly: UnityEngine.dll
Syntax
[Serializable]
[Obsolete("The UNET transport will be removed in the future as soon a replacement is ready.")]
public class ConnectionConfig

Constructors

| Improve this Doc View Source

ConnectionConfig()

Declaration
public ConnectionConfig()
| Improve this Doc View Source

ConnectionConfig(ConnectionConfig)

Declaration
public ConnectionConfig(ConnectionConfig config)
Parameters
Type Name Description
ConnectionConfig config

Properties

| Improve this Doc View Source

AckDelay

Declaration
public uint AckDelay { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

AcksType

Declaration
public ConnectionAcksType AcksType { get; set; }
Property Value
Type Description
ConnectionAcksType
| Improve this Doc View Source

AllCostTimeout

Declaration
public uint AllCostTimeout { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

BandwidthPeakFactor

Declaration
public float BandwidthPeakFactor { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

ChannelCount

Declaration
public int ChannelCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Channels

Declaration
public List<ChannelQOS> Channels { get; }
Property Value
Type Description
List<ChannelQOS>
| Improve this Doc View Source

ConnectTimeout

Declaration
public uint ConnectTimeout { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

DisconnectTimeout

Declaration
public uint DisconnectTimeout { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

FragmentSize

Declaration
public ushort FragmentSize { get; set; }
Property Value
Type Description
UInt16
| Improve this Doc View Source

InitialBandwidth

Declaration
public uint InitialBandwidth { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

IsAcksLong

Declaration
[Obsolete("IsAcksLong is deprecated. Use AcksType = ConnectionAcksType.Acks64", false)]
public bool IsAcksLong { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

MaxCombinedReliableMessageCount

Declaration
public ushort MaxCombinedReliableMessageCount { get; set; }
Property Value
Type Description
UInt16
| Improve this Doc View Source

MaxCombinedReliableMessageSize

Declaration
public ushort MaxCombinedReliableMessageSize { get; set; }
Property Value
Type Description
UInt16
| Improve this Doc View Source

MaxConnectionAttempt

Declaration
public byte MaxConnectionAttempt { get; set; }
Property Value
Type Description
Byte
| Improve this Doc View Source

MaxSentMessageQueueSize

Declaration
public ushort MaxSentMessageQueueSize { get; set; }
Property Value
Type Description
UInt16
| Improve this Doc View Source

MinUpdateTimeout

Declaration
public uint MinUpdateTimeout { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

NetworkDropThreshold

Declaration
public byte NetworkDropThreshold { get; set; }
Property Value
Type Description
Byte
| Improve this Doc View Source

OverflowDropThreshold

Declaration
public byte OverflowDropThreshold { get; set; }
Property Value
Type Description
Byte
| Improve this Doc View Source

PacketSize

Declaration
public ushort PacketSize { get; set; }
Property Value
Type Description
UInt16
| Improve this Doc View Source

PingTimeout

Declaration
public uint PingTimeout { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

ReducedPingTimeout

Declaration
public uint ReducedPingTimeout { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

ResendTimeout

Declaration
public uint ResendTimeout { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

SendDelay

Declaration
public uint SendDelay { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

SharedOrderChannelCount

Declaration
public int SharedOrderChannelCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

SSLCAFilePath

Declaration
public string SSLCAFilePath { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

SSLCertFilePath

Declaration
public string SSLCertFilePath { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

SSLPrivateKeyFilePath

Declaration
public string SSLPrivateKeyFilePath { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

UdpSocketReceiveBufferMaxSize

Declaration
public uint UdpSocketReceiveBufferMaxSize { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

UsePlatformSpecificProtocols

Declaration
public bool UsePlatformSpecificProtocols { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

WebSocketReceiveBufferMaxSize

Declaration
public ushort WebSocketReceiveBufferMaxSize { get; set; }
Property Value
Type Description
UInt16

Methods

| Improve this Doc View Source

AddChannel(QosType)

Declaration
public byte AddChannel(QosType value)
Parameters
Type Name Description
QosType value
Returns
Type Description
Byte
| Improve this Doc View Source

GetChannel(Byte)

Declaration
public QosType GetChannel(byte idx)
Parameters
Type Name Description
Byte idx
Returns
Type Description
QosType
| Improve this Doc View Source

GetSharedOrderChannels(Byte)

Declaration
public IList<byte> GetSharedOrderChannels(byte idx)
Parameters
Type Name Description
Byte idx
Returns
Type Description
IList<Byte>
| Improve this Doc View Source

MakeChannelsSharedOrder(List<Byte>)

Declaration
public void MakeChannelsSharedOrder(List<byte> channelIndices)
Parameters
Type Name Description
List<Byte> channelIndices
| Improve this Doc View Source

Validate(ConnectionConfig)

Declaration
public static void Validate(ConnectionConfig config)
Parameters
Type Name Description
ConnectionConfig config

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX