类 ResourceSinkGrpc.ResourceSinkStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<ResourceSinkGrpc.ResourceSinkStub>
-
- istio.mcp.v1alpha1.ResourceSinkGrpc.ResourceSinkStub
-
- 封闭类:
- ResourceSinkGrpc
public static final class ResourceSinkGrpc.ResourceSinkStub extends io.grpc.stub.AbstractAsyncStub<ResourceSinkGrpc.ResourceSinkStub>
Service where the source is the gRPC client. The source is responsible for initiating connections and opening streams.
-
-
构造器概要
构造器 限定符 构造器 说明 privateResourceSinkStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected ResourceSinkGrpc.ResourceSinkStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)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.
-
-
-
方法详细资料
-
build
protected ResourceSinkGrpc.ResourceSinkStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- 指定者:
build在类中io.grpc.stub.AbstractStub<ResourceSinkGrpc.ResourceSinkStub>
-
establishResourceStream
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.
-
-