AS AgentScopeAPI 手册 / API Reference

A2aRocketMQController

@Controller @RequestMapping("/a2a-rocketmq") public class A2aRocketMQController extends A2aController
源码Source io/agentscope/runtime/protocol/a2a/controller/A2aRocketMQController.java:61–187

A 2 a RocketMQ 控制器,支持智能体之间的发现、委派与协作。位于 io.agentscope.runtime.protocol.a2a.controller 包,继承自 A2aController。核心成员包括 init、A2aRocketMQController。

A class in io.agentscope.runtime.protocol.a2a.controller that supports discovery, delegation and collaboration between agents. Declared in io.agentscope.runtime.protocol.a2a.controller. Extends A2aController.

构造器摘要Constructor Summary

构造器Constructor说明Description
public A2aRocketMQController(Runner runner, AgentCard agentCard, ObjectProvider<ProtocolConfig> protocolConfigs)
初始化 `A2aRocketMQController` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public void init()
初始化 `A2aRocketMQController` 实例。
Creates a new instance.

构造器详情Constructor Detail

A2aRocketMQController

public A2aRocketMQController(Runner runner, AgentCard agentCard, ObjectProvider<ProtocolConfig> protocolConfigs)

初始化 A2aRocketMQController 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
runnerRunner运行器(类型 `Runner`)。The runner.
agentCardAgentCard智能体卡片(类型 `AgentCard`)。The agent card.
protocolConfigsObjectProvider<ProtocolConfig>协议 Configs(类型 `ObjectProvider`)。The protocol configs.
源码Source io/agentscope/runtime/protocol/a2a/controller/A2aRocketMQController.java:76–78

方法详情Method Detail

init

public void init()

初始化 A2aRocketMQController 实例。

Creates a new instance.

源码Source io/agentscope/runtime/protocol/a2a/controller/A2aRocketMQController.java:80–93

继承成员Inherited Members

基于官方固定版本源码静态生成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.