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