CommandRunner class abstract interface

Bridge from capability code to the server's CoreCommandExecutor pipeline.

Capabilities that need to execute CoreCommands (with connection override, auto-reconnect, and structured CoreResult envelope) resolve this service via CapabilityContext.require<CommandRunner>().

The server provides DefaultCommandRunner which wraps DefaultCoreCommandExecutor. Tests supply a fake.

Implemented types
Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyConnectionOverride(Map<String, Object?>? arguments) Future<CoreResult?>
Apply a per-call connection override from a raw argument map.
execute(CoreCommand command) Future<CoreResult>
Execute command through the full executor pipeline.
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