RelayProtocol class
Constants of the relay protocol.
Values shared by both the relay protocol peers complement the core
Protocol constants (handshake timeout, ping cadence, buffer bound),
which apply to the relay implementations unchanged.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
Constants
- compactRetryInterval → const Duration
- Minimum time between two compaction requests for the same room.
- logCompactThreshold → const int
- Room log length beyond which the relay asks a client to upload a snapshot to compact the log.
- reconnectBaseDelay → const Duration
- Base delay of the client exponential reconnect backoff.
- reconnectJitter → const Duration
- Maximum random jitter added to every reconnect delay.
- reconnectMaxDelay → const Duration
- Maximum delay of the client exponential reconnect backoff.