Class BenchmarkServiceGrpc.BenchmarkServiceStub

    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

        io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
    • Method Detail

      • unaryCall

        public 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

        public 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

        public 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

        public 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

        public 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