AS AgentScopeAPI 手册 / API Reference

ControlPlaneSessionEventMirror

@Component public class ControlPlaneSessionEventMirror implements SessionEventMirror
源码Source io/agentscope/builder/control/ControlPlaneSessionEventMirror.java:33–46

控制面会话事件镜像,承载智能体的部署、调度与服务化运行。位于 io.agentscope.builder.control 包,实现 SessionEventMirror。核心成员包括 mirror、ControlPlaneSessionEventMirror。

Projects data-plane session events into the aistiod runtime event store.

构造器摘要Constructor Summary

构造器Constructor说明Description
public ControlPlaneSessionEventMirror(ControlPlaneClient controlPlaneClient)
初始化 `ControlPlaneSessionEventMirror` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public void mirror(SessionEventDto event)
设置镜像。
Performs the mirror operation.

构造器详情Constructor Detail

ControlPlaneSessionEventMirror

public ControlPlaneSessionEventMirror(ControlPlaneClient controlPlaneClient)

初始化 ControlPlaneSessionEventMirror 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
controlPlaneClientControlPlaneClient控制面客户端(类型 `ControlPlaneClient`)。The control plane client.
源码Source io/agentscope/builder/control/ControlPlaneSessionEventMirror.java:38–40

方法详情Method Detail

mirror

public void mirror(SessionEventDto event)

设置镜像。

Performs the mirror operation.

参数Parameters
名称Name类型Type说明Description
eventSessionEventDto事件(类型 `SessionEventDto`)。The event.
源码Source io/agentscope/builder/control/ControlPlaneSessionEventMirror.java:42–45
基于官方固定版本源码静态生成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.