AS AgentScopeAPI 手册 / API Reference

SessionEventMirror

@FunctionalInterface public interface SessionEventMirror
源码Source io/agentscope/builder/web/managed/service/SessionEventMirror.java:31–35

定义会话事件镜像契约的接口。位于 io.agentscope.builder.web.managed.service 包。核心成员包括 mirror。

Best-effort observer used to project persisted managed events to another read model.

方法摘要Method Summary

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

方法详情Method Detail

mirror

public void mirror(SessionEventDto event)

设置镜像。

Performs the mirror operation.

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