Interface BenchmarkServiceGrpc.AsyncService

    • Method Detail

      • unaryCall

        default void unaryCall​(Messages.SimpleRequest request,
                               io.grpc.stub.StreamObserver<Messages.SimpleResponse> responseObserver)
         One request followed by one response.
         The server returns the client payload as-is.
         
      • streamingCall

        default io.grpc.stub.StreamObserver<Messages.SimpleRequest> streamingCall​(io.grpc.stub.StreamObserver<Messages.SimpleResponse> responseObserver)
         Repeated sequence of one request followed by one response.
         Should be called streaming ping-pong
         The server returns the client payload as-is on each response
         
      • streamingFromClient

        default io.grpc.stub.StreamObserver<Messages.SimpleRequest> streamingFromClient​(io.grpc.stub.StreamObserver<Messages.SimpleResponse> responseObserver)
         Single-sided unbounded streaming from client to server
         The server returns the client payload as-is once the client does WritesDone
         
      • streamingFromServer

        default void streamingFromServer​(Messages.SimpleRequest request,
                                         io.grpc.stub.StreamObserver<Messages.SimpleResponse> responseObserver)
         Single-sided unbounded streaming from server to client
         The server repeatedly returns the client payload as-is
         
      • streamingBothWays

        default io.grpc.stub.StreamObserver<Messages.SimpleRequest> streamingBothWays​(io.grpc.stub.StreamObserver<Messages.SimpleResponse> responseObserver)
         Two-sided unbounded streaming between server to client
         Both sides send the content of their own choice to the other