public abstract static class ResourceSourceGrpc.ResourceSourceImplBase extends Object implements io.grpc.BindableService
Service where the sink is the gRPC client. The sink is responsible for initiating connections and opening streams.
| 构造器和说明 |
|---|
ResourceSourceImplBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
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.
|
public 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.
public final io.grpc.ServerServiceDefinition bindService()
bindService 在接口中 io.grpc.BindableServiceCopyright © 2018–2023 Alibaba Group. All rights reserved.