@Generated(value="by gRPC proto compiler (version 1.50.2)", comments="Source: mcp/v1alpha1/mcp.proto") public final class ResourceSinkGrpc extends Object
Service where the source is the gRPC client. The source is responsible for initiating connections and opening streams.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ResourceSinkGrpc.ResourceSinkBlockingStub
Service where the source is the gRPC client.
|
static class |
ResourceSinkGrpc.ResourceSinkFutureStub
Service where the source is the gRPC client.
|
static class |
ResourceSinkGrpc.ResourceSinkImplBase
Service where the source is the gRPC client.
|
static class |
ResourceSinkGrpc.ResourceSinkStub
Service where the source is the gRPC client.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
SERVICE_NAME |
| 限定符和类型 | 方法和说明 |
|---|---|
static io.grpc.MethodDescriptor<Mcp.Resources,Mcp.RequestResources> |
getEstablishResourceStreamMethod() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static ResourceSinkGrpc.ResourceSinkBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static ResourceSinkGrpc.ResourceSinkFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static ResourceSinkGrpc.ResourceSinkStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static io.grpc.MethodDescriptor<Mcp.Resources,Mcp.RequestResources> getEstablishResourceStreamMethod()
public static ResourceSinkGrpc.ResourceSinkStub newStub(io.grpc.Channel channel)
public static ResourceSinkGrpc.ResourceSinkBlockingStub newBlockingStub(io.grpc.Channel channel)
public static ResourceSinkGrpc.ResourceSinkFutureStub newFutureStub(io.grpc.Channel channel)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2018–2023 Alibaba Group. All rights reserved.