接口 ResourceSinkGrpc.AsyncService
- 封闭类:
ResourceSinkGrpc
public static interface ResourceSinkGrpc.AsyncService
Service where the source is the gRPC client. The source is responsible for initiating connections and opening streams.
-
方法概要
修饰符和类型方法说明default io.grpc.stub.StreamObserver<Mcp.Resources> establishResourceStream(io.grpc.stub.StreamObserver<Mcp.RequestResources> responseObserver) The source, acting as gRPC client, establishes a new resource stream with the sink.
-
方法详细资料
-
establishResourceStream
default io.grpc.stub.StreamObserver<Mcp.Resources> establishResourceStream(io.grpc.stub.StreamObserver<Mcp.RequestResources> responseObserver) The source, acting as gRPC client, establishes a new resource stream with the sink. The sink sends RequestResources message to and receives Resources messages from the source.
-