类 ResourceSinkGrpc.ResourceSinkImplBase

  • 所有已实现的接口:
    io.grpc.BindableService
    封闭类:
    ResourceSinkGrpc

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

      • ResourceSinkImplBase

        public ResourceSinkImplBase()
    • 方法详细资料

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

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