类 ResourceSourceGrpc.ResourceSourceImplBase

  • 所有已实现的接口:
    io.grpc.BindableService
    直接已知子类:
    NacosMcpService
    封闭类:
    ResourceSourceGrpc

    public abstract static class ResourceSourceGrpc.ResourceSourceImplBase
    extends java.lang.Object
    implements io.grpc.BindableService
     Service where the sink is the gRPC client. The sink is responsible for
     initiating connections and opening streams.
     
    • 构造器详细资料

      • ResourceSourceImplBase

        public ResourceSourceImplBase()
    • 方法详细资料

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

        public final io.grpc.ServerServiceDefinition bindService()
        指定者:
        bindService 在接口中 io.grpc.BindableService