AsyncService
public interface AsyncService
源码Source
io/agentscope/controlplane/proto/AgentDataPlaneServiceGrpc.java:115–123AgentDataPlaneService是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 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 |
|---|---|---|
responseObserver | io.grpc.stub.StreamObserver<io.agentscope.controlplane.proto.Downstream> | 响应观察者(类型 `io.grpc.stub.StreamObserver`)。The response observer. |
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