Show / Hide Table of Contents

Class MultiplexedClient.Options

Represents multiplexing client options.

Inheritance
object
MultiplexingOptions
MultiplexedClient.Options
TcpMultiplexedClient.Options
Inherited Members
MultiplexingOptions.BufferOptions
MultiplexingOptions.MeasurementTags
MultiplexingOptions.Backlog
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNext.Net.Multiplexing
Assembly: DotNext.Net.Cluster.dll
Syntax
public class MultiplexedClient.Options : MultiplexingOptions

Constructors

View Source

Options()

Declaration
public Options()

Properties

View Source

HeartbeatDrift

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

value is not in range (0..1).

View Source

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

value is negative or greater than 30.

View Source

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

value is not positive.

View Source

Timeout

Gets or sets the send/receive timeout.

Declaration
public TimeSpan Timeout { get; init; }
Property Value
Type Description
TimeSpan

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾