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
Assembly: Unity.Networking.Transport.dll
Syntax
public struct ReliableUtility.SharedContext
Fields
MaximumResendTime
Effective maximum resend time for unacknowledged reliable packets. Can be modified through SetMaximumResendTime(int, NetworkDriver, NetworkPipeline, NetworkConnection).
Declaration
public int MaximumResendTime
Field Value
Type | Description |
---|---|
int | Minimum resend time in milliseconds. |
MinimumResendTime
Effective minimum resend time for unacknowledged reliable packets. Can be modified through SetMinimumResendTime(int, NetworkDriver, NetworkPipeline, NetworkConnection).
Declaration
public int MinimumResendTime
Field Value
Type | Description |
---|---|
int | 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. |
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 |
---|---|
int | Window size in number of packets. |
stats
Statistics for the reliable pipeline.
Declaration
public ReliableUtility.Statistics stats
Field Value
Type | Description |
---|---|
ReliableUtility.Statistics | Reliable pipeline statistics. |