Class GrpcTestUtil


  • public final class GrpcTestUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <I extends com.google.protobuf.Message,​O extends com.google.protobuf.Message,​S extends io.grpc.stub.StreamObserver<O>>
      java.util.concurrent.CompletableFuture<O>
      executeUnary​(java.util.function.BiConsumer<I,​S> method, I request)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • executeUnary

        public static <I extends com.google.protobuf.Message,​O extends com.google.protobuf.Message,​S extends io.grpc.stub.StreamObserver<O>> java.util.concurrent.CompletableFuture<O> executeUnary​(java.util.function.BiConsumer<I,​S> method,
                                                                                                                                                                                                                I request)