Table of Contents

Class AppAlwaysOnOptions

Namespace
VpnHood.AppLib.App.Services.AlwaysOn
Assembly
VpnHood.AppLib.App.dll

Provides how always on tries again after a failure (AlwaysOnOptions).

public class AppAlwaysOnOptions
Inheritance
AppAlwaysOnOptions
Inherited Members

Properties

RetryPauses

Gets or sets the pauses before each try after a failure to reach a working server, growing so a server that is down is never bombarded; the last repeats. The default is 30 seconds, then one, two, five and ten minutes.

public IReadOnlyList<TimeSpan> RetryPauses { get; set; }

Property Value

IReadOnlyList<TimeSpan>

Remarks

It must hold at least one pause. Each pause is up to a fifth shorter at random, so devices do not try in step.

RetryPausesResetTime

Gets or sets how long a session must last for the pauses to start over. The default is ten minutes.

public TimeSpan RetryPausesResetTime { get; set; }

Property Value

TimeSpan