AutoRelayConfig class

Constructors

AutoRelayConfig.new({Clock? clock, PeerSource? peerSourceCallback, List<AddrInfo>? staticRelays, Duration? minInterval, int? minCandidates, int? maxCandidates, Duration? bootDelay, Duration? backoff, int? desiredRelays, Duration? maxCandidateAge, MetricsTracer? metricsTracer})
AutoRelayConfig.static(List<AddrInfo> staticRelays, {Clock? clock, Duration? bootDelay, Duration? backoff, Duration? maxCandidateAge, Duration? minInterval, MetricsTracer? metricsTracer})
factory

Properties

backoff Duration
final
bootDelay Duration
final
clock Clock
final
desiredRelays int
final
effectivePeerSource PeerSource
no setter
hashCode int
The hash code for this object.
no setterinherited
maxCandidateAge Duration
final
maxCandidates int
final
metricsTracer MetricsTracer?
final
minCandidates int
final
minInterval Duration
final
peerSourceCallback PeerSource?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setMinCandidatesFlag bool
final
staticRelays List<AddrInfo>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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