Interface TestServiceGrpc.AsyncService

    • Method Detail

      • emptyCall

        default void emptyCall​(EmptyProtos.Empty request,
                               io.grpc.stub.StreamObserver<EmptyProtos.Empty> responseObserver)
         One empty request followed by one empty response.
         
      • cacheableUnaryCall

        default void cacheableUnaryCall​(Messages.SimpleRequest request,
                                        io.grpc.stub.StreamObserver<Messages.SimpleResponse> responseObserver)
         One request followed by one response. Response has cache control
         headers set such that a caching HTTP proxy (such as GFE) can
         satisfy subsequent requests.
         
      • fullDuplexCall

        default io.grpc.stub.StreamObserver<Messages.StreamingOutputCallRequest> fullDuplexCall​(io.grpc.stub.StreamObserver<Messages.StreamingOutputCallResponse> responseObserver)
         A sequence of requests with each request served by the server immediately.
         As one request could lead to multiple responses, this interface
         demonstrates the idea of full duplexing.
         
      • halfDuplexCall

        default io.grpc.stub.StreamObserver<Messages.StreamingOutputCallRequest> halfDuplexCall​(io.grpc.stub.StreamObserver<Messages.StreamingOutputCallResponse> responseObserver)
         A sequence of requests followed by a sequence of responses.
         The server buffers all the client requests and then serves them in order. A
         stream of responses are returned to the client when the server starts with
         first request.
         
      • unimplementedCall

        default void unimplementedCall​(EmptyProtos.Empty request,
                                       io.grpc.stub.StreamObserver<EmptyProtos.Empty> responseObserver)
         The test server will not implement this method. It will be used
         to test the behavior when clients call unimplemented methods.