AS AgentScopeAPI 手册 / API Reference

ExecutionAttemptCommandHandler

@FunctionalInterface public interface ExecutionAttemptCommandHandler
源码Source io/agentscope/extensions/controlplane/transport/GrpcTransport.java:73–76

定义执行尝试命令处理器契约的接口。位于 io.agentscope.extensions.controlplane.transport 包。核心成员包括 onExecutionAttempt。

Receives a fenced execution-attempt command from the control plane.

方法摘要Method Summary

方法Method说明Description
public void onExecutionAttempt(ExecutionAttemptCommand command)
处理执行尝试事件。
Performs the on execution attempt operation.

方法详情Method Detail

onExecutionAttempt

public void onExecutionAttempt(ExecutionAttemptCommand command)

处理执行尝试事件。

Performs the on execution attempt operation.

参数Parameters
名称Name类型Type说明Description
commandExecutionAttemptCommand命令(类型 `ExecutionAttemptCommand`)。The command.
源码Source io/agentscope/extensions/controlplane/transport/GrpcTransport.java:75
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.