类 ResourceSourceGrpc.ResourceSourceStub
java.lang.Object
io.grpc.stub.AbstractStub<ResourceSourceGrpc.ResourceSourceStub>
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>
A stub to allow clients to do asynchronous rpc calls to service ResourceSource.
Service where the sink is the gRPC client. The sink is responsible for initiating connections and opening streams.
-
嵌套类概要
从类继承的嵌套类/接口 io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
方法概要
修饰符和类型方法说明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.从类继承的方法 io.grpc.stub.AbstractAsyncStub
newStub, newStub从类继承的方法 io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
方法详细资料
-
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.
-