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