Class ServerCalls

java.lang.Object
io.quarkus.grpc.stubs.ServerCalls

public class ServerCalls extends Object
  • Method Details

    • oneToOne

      public static <I, O> void oneToOne(I request, io.grpc.stub.StreamObserver<O> response, String compression, Function<I,io.smallrye.mutiny.Uni<O>> implementation)
    • oneToMany

      public static <I, O> void oneToMany(I request, io.grpc.stub.StreamObserver<O> response, String compression, Function<I,io.smallrye.mutiny.Multi<O>> implementation)
    • manyToOne

      public static <I, O> io.grpc.stub.StreamObserver<I> manyToOne(io.grpc.stub.StreamObserver<O> response, Function<io.smallrye.mutiny.Multi<I>,io.smallrye.mutiny.Uni<O>> implementation)
    • manyToMany

      public static <I, O> io.grpc.stub.StreamObserver<I> manyToMany(io.grpc.stub.StreamObserver<O> response, Function<io.smallrye.mutiny.Multi<I>,io.smallrye.mutiny.Multi<O>> implementation)
    • setStreamCollector

      public static void setStreamCollector(StreamCollector collector)
    • getStreamCollector

      public static StreamCollector getStreamCollector()