Unity.Networking.Transport.NetworkConfigParameter
The NetworkConfigParameter is used to set specific parameters that the driver uses.
#
Inherited MembersValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
#
Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
connectTimeoutMSA timeout in milliseconds indicating how long we will wait until we send a new connection attempt.
#
Declaration#
Field ValueType | Description |
---|---|
System.Int32 |
#
disconnectTimeoutMSA timeout in milliseconds indicating how long we will wait for a connection event, before we disconnect it.
#
Declaration#
Field ValueType | Description |
---|---|
System.Int32 |
#
RemarksThe connection needs to receive data from the connected endpoint within this timeout. Note that with heartbeats enabled (heartbeatTimeoutMS > 0), simply not sending any data will not be enough to trigger this timeout (since heartbeats count as connection events).
#
fixedFrameTimeMSA fixed amount of time to use for an interval between ScheduleUpdate. This is used instead of a clock.
#
Declaration#
Field ValueType | Description |
---|---|
System.Int32 |
#
RemarksThe main use for this parameter is tests where determinism is more important than correctness.
#
heartbeatTimeoutMSA timeout in milliseconds after which a heartbeat is sent if there is no activity.
#
Declaration#
Field ValueType | Description |
---|---|
System.Int32 |
#
maxConnectAttemptsThe maximum amount of connection attempts we will try before disconnecting.
#
Declaration#
Field ValueType | Description |
---|---|
System.Int32 |
#
maxFrameTimeMSThe maximum amount of time a single frame can advance timeout values.
#
Declaration#
Field ValueType | Description |
---|---|
System.Int32 |
#
RemarksThe main use for this parameter is to not get disconnects at frame spikes when both endpoints lives in the same process.
#
reconnectionTimeoutMSA timeout in milliseconds after which reconnection is attempted if there is no activity.
#
Declaration#
Field ValueType | Description |
---|---|
System.Int32 |
#
#
Validate()#
Declaration#
ReturnsType | Description |
---|---|
System.Boolean |
#
ImplementsINetworkParameter
IValidatableNetworkParameter