Package com.ultikits.ultitools.manager
Interface CommandExecutionManager.CommandResultSink
- Enclosing class:
CommandExecutionManager
@Internal
public static interface CommandExecutionManager.CommandResultSink
Receives one v2 command outcome, independently of the transport framing.
Framework failures propagate to the caller; only dispatch failures call
failed(String).
Messages are non-empty and at most
500 code points, the
command.result payload bound.- Since:
- 6.3.1
-
Method Summary
Modifier and TypeMethodDescriptionvoidReports a blocklist refusal with the normalized matched entry and existing policy message.voidReports synchronous feedback captured before dispatch returned, and main-thread execution time.voidReports an empty command, a disabled capability, a refused command's captured reply or a dispatch exception's message — never a stack trace.
-
Method Details
-
blocked
Reports a blocklist refusal with the normalized matched entry and existing policy message. -
completed
Reports synchronous feedback captured before dispatch returned, and main-thread execution time. Feedback the command prints later is not part of the result: it is written to the server console, and so reaches the log stream. -
failed
Reports an empty command, a disabled capability, a refused command's captured reply or a dispatch exception's message — never a stack trace.
-