ReattachResult class
What a ResourceSubscriber.reattach actually achieved.
Returned rather than only logged because the two numbers are the whole point: a reattach that re-subscribed nothing is a device that has gone quiet, and reporting the attempt count made that indistinguishable from success.
Constructors
- ReattachResult({int resubscribed = 0, int failed = 0})
-
const
Properties
- failed → int
-
Resources whose subscribe was refused or threw. The stream for these is
still dead after the reattach.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTotalFailure → bool
-
True when the reattach had work to do and none of it landed.
no setter
- resubscribed → int
-
Resources whose
resources/subscribereached the server.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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited