ConnectionHealthMonitor class

Event-driven connection health monitor

Properties

hashCode int
The hash code for this object.
no setterinherited
metrics ConnectionHealthMetrics
Get health metrics
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Dispose of all monitoring resources
monitorConnection(dynamic connection) → void
Monitor connection through existing error propagation and lifecycle events This is transport-agnostic and works with any connection type
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordClosure(String reason) → void
Record connection closure
recordError(dynamic error, String context) → void
Record error with classification (called from SwarmConn)
recordSuccess(String reason) → void
Record successful operation (called from SwarmConn)
toString() String
A string representation of this object.
inherited

Operators

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