ReconnectStrategy class

Constructors

ReconnectStrategy({int reconnectInterval = 3000, int maxReconnectInterval = 30000, int? maxAttempts = null})

Properties

attmptsMade int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxAttempts int?
The maximum number of reconnection attempts that will be made before giving up. If null, reconnection attempts will be continue to be made forever. Default: null
final
maxReconnectInterval int
The maximum number of milliseconds to delay a reconnection attempt. Default: 30000
final
reconnectInterval int
The number of milliseconds to delay before attempting to reconnect. Default: 2000
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

areAttemptsComplete() bool
getReconnectInterval() int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processValues() → void
reset() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited