Class MultiplexedClient.Options
Represents multiplexing client options.
Inherited Members
Namespace: DotNext.Net.Multiplexing
Assembly: DotNext.Net.Cluster.dll
Syntax
public class MultiplexedClient.Options : MultiplexingOptions
Constructors
View SourceOptions()
Declaration
public Options()
Properties
View SourceHeartbeatDrift
Determines a drift between heartbeat packet and regular network timeout.
Declaration
public double HeartbeatDrift { get; init; }
Property Value
| Type | Description |
|---|---|
| double |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|
ReconnectBackoffLimit
Gets or sets the number of failed connection attempts required to reach the maximum reconnection delay.
Declaration
public int ReconnectBackoffLimit { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
The maximum delay is ReconnectDelay multiplied by 2 raised to the power of this value. Zero means that the delay is constant.
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|
ReconnectDelay
Gets or sets the delay before the first reconnection attempt after a failed connection attempt.
Declaration
public TimeSpan ReconnectDelay { get; init; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Remarks
The delay doubles after every subsequent failed attempt until ReconnectBackoffLimit is reached.
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|
Timeout
Gets or sets the send/receive timeout.
Declaration
public TimeSpan Timeout { get; init; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |