AS AgentScopeAPI 手册 / API Reference

AsyncService

public interface AsyncService
源码Source io/agentscope/controlplane/proto/AgentDataPlaneServiceGrpc.java:115–123

AgentDataPlaneService是ASDP gRPC 服务。位于 io.agentscope.controlplane.proto 包。核心成员包括 connect。


AgentDataPlaneService is the ASDP gRPC service.
Single bidirectional stream multiplexing all message types (analogous to xDS ADS).

方法摘要Method Summary

方法Method说明Description
default public io.grpc.stub.StreamObserver<io.agentscope.controlplane.proto.Upstream> connect(io.grpc.stub.StreamObserver<io.agentscope.controlplane.proto.Downstream> responseObserver)
default
建立连接并完成初始化。
Performs the connect operation.

方法详情Method Detail

connect

default public io.grpc.stub.StreamObserver<io.agentscope.controlplane.proto.Upstream> connect(io.grpc.stub.StreamObserver<io.agentscope.controlplane.proto.Downstream> responseObserver)
default

建立连接并完成初始化。

Performs the connect operation.

参数Parameters
名称Name类型Type说明Description
responseObserverio.grpc.stub.StreamObserver<io.agentscope.controlplane.proto.Downstream>响应观察者(类型 `io.grpc.stub.StreamObserver`)。The response observer.
返回Returns io.grpc.stub.StreamObserver<io.agentscope.controlplane.proto.Upstream>
返回io.gRPC.存根.StreamObserver。Returns io grpc stub stream observer.
源码Source io/agentscope/controlplane/proto/AgentDataPlaneServiceGrpc.java:119–122
基于官方固定版本源码静态生成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.