SilentStreamPolicyHooks class final
The escalation hooks the host/resolver wires (the roles chain owns the key rings and the smol role; this file stays below model_roles/).
Constructors
- SilentStreamPolicyHooks({bool rotateKey()?, StreamFunction? buildTakeover()?, void onNotice(String note)?})
-
Creates the hooks. All-const default = no escalation available (the
ladder then only backs off and, past its budget, stands the error).
const
Properties
- buildTakeover → StreamFunction? Function()?
-
Builds the takeover stream (the smol role's chain call), or
nullwhen no takeover target exists (E5-adjacent: logged, the stall error stands for the roles ladder).final - hashCode → int
-
The hash code for this object.
no setterinherited
- onNotice → void Function(String note)?
-
Human-visible policy notes (the
[net]/fa.log surface through the resolver's notice plumbing).final - rotateKey → bool Function()?
-
Attempts an API-key rotation for the current entry;
true= rotated (the next attempt rebuilds the inner stream viaSilentStreamPolicy .innerBuilderand picks up the rotated credential),false= no other key exists (E5: logged, the same key is retried).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