Struct ReliableUtility.SharedContext
Context shared by both the send and receive direction of the reliable pipeline. Can be obtained through the last parameter of GetPipelineBuffers(NetworkPipeline, NetworkPipelineStageId, NetworkConnection, out NativeArray<Byte>, out NativeArray<Byte>, out NativeArray<Byte>).
Inherited Members
Namespace: Unity.Networking.Transport.Utilities
Syntax
public struct SharedContext
Fields
MaximumResendTime
Effective maximum resend time for unacknowledged reliable packets. Can be modified through SetMaximumResendTime(Int32, NetworkDriver, NetworkPipeline, NetworkConnection).
Declaration
public int MaximumResendTime
Field Value
Type | Description |
---|---|
Int32 | Minimum resend time in milliseconds. |
MinimumResendTime
Effective minimum resend time for unacknowledged reliable packets. Can be modified through SetMinimumResendTime(Int32, NetworkDriver, NetworkPipeline, NetworkConnection).
Declaration
public int MinimumResendTime
Field Value
Type | Description |
---|---|
Int32 | Minimum resend time in milliseconds. |
RttInfo
Timing information used to calculate resend timeouts.
Declaration
public ReliableUtility.RTTInfo RttInfo
Field Value
Type | Description |
---|---|
ReliableUtility.RTTInfo | RTT information. |
stats
Statistics for the reliable pipeline.
Declaration
public ReliableUtility.Statistics stats
Field Value
Type | Description |
---|---|
ReliableUtility.Statistics | Reliable pipeline statistics. |
WindowSize
Effective window size of the reliable pipeline. Can't be modified at runtime, but can be set at configuration time through NetworkSettings.
Declaration
public int WindowSize
Field Value
Type | Description |
---|---|
Int32 | Window size in number of packets. |