类 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.
     
    • 嵌套类概要

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

        io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
    • 构造器概要

      构造器 
      限定符 构造器 说明
      private ResourceSourceStub​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected ResourceSourceGrpc.ResourceSourceStub build​(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
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ResourceSourceStub

        private ResourceSourceStub​(io.grpc.Channel channel,
                                   io.grpc.CallOptions callOptions)
    • 方法详细资料

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