类 ResourceSinkGrpc.ResourceSinkStub

java.lang.Object
io.grpc.stub.AbstractStub<ResourceSinkGrpc.ResourceSinkStub>
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>
A stub to allow clients to do asynchronous rpc calls to service ResourceSink.
 Service where the source is the gRPC client. The source is responsible for
 initiating connections and opening streams.
 
  • 嵌套类概要

    从类继承的嵌套类/接口 io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • 方法概要

    修饰符和类型
    方法
    说明
    build(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.

    从类继承的方法 io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    从类继承的方法 io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 方法详细资料

    • 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.