OutboundBufferOverflow class

Thrown when an OutboundQueue would exceed its byte bound.

The connection that owns the queue should be torn down when this is raised: a peer that cannot keep up with the outgoing stream is treated as gone. For a CRDT the data is not lost — the peer re-syncs from its version vector on the next handshake.

Implemented types

Constructors

OutboundBufferOverflow({required int attemptedBytes, required int maxBufferSize})
Thrown when an OutboundQueue would exceed its byte bound.
const

Properties

attemptedBytes int
The queue size (in bytes) that the rejected message would have produced.
final
hashCode int
The hash code for this object.
no setterinherited
maxBufferSize int
The configured maximum queued bytes.
final
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.
override

Operators

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