RoutingMessagingRepository class abstract interface

Capability of a primary repository that routes by recipient: it can say whether toId is deliverable through it and return the CANONICAL target id (a display name resolved to the peer id, a channel passed through). Null means "not mine" — the recipient belongs to the file fabric (or the primary is not connected). Implementations must be cheap to call and never throw for a null answer.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
isConnected → bool
Whether the live transport is currently usable. A false answer routes everything to the fallback.
no setter
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
resolveTarget(String toId) → Future<String?>
The canonical target id for toId on this transport, or null when toId is not deliverable here (unknown recipient, transport down).
toString() → String
A string representation of this object.
inherited

Operators

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