Show / Hide Table of Contents

Class HostTopology

Inheritance
Object
HostTopology
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 HostTopology

Constructors

| Improve this Doc View Source

HostTopology(ConnectionConfig, Int32)

Declaration
public HostTopology(ConnectionConfig defaultConfig, int maxDefaultConnections)
Parameters
Type Name Description
ConnectionConfig defaultConfig
Int32 maxDefaultConnections

Properties

| Improve this Doc View Source

DefaultConfig

Declaration
public ConnectionConfig DefaultConfig { get; }
Property Value
Type Description
ConnectionConfig
| Improve this Doc View Source

MaxDefaultConnections

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

MessagePoolSizeGrowthFactor

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

ReceivedMessagePoolSize

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

SentMessagePoolSize

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

SpecialConnectionConfigs

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

SpecialConnectionConfigsCount

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

Methods

| Improve this Doc View Source

AddSpecialConnectionConfig(ConnectionConfig)

Declaration
public int AddSpecialConnectionConfig(ConnectionConfig config)
Parameters
Type Name Description
ConnectionConfig config
Returns
Type Description
Int32
| Improve this Doc View Source

GetSpecialConnectionConfig(Int32)

Declaration
public ConnectionConfig GetSpecialConnectionConfig(int i)
Parameters
Type Name Description
Int32 i
Returns
Type Description
ConnectionConfig

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