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