Class SimpleServiceGrpc.SimpleServiceStub

  • Enclosing class:
    SimpleServiceGrpc

    public static final class SimpleServiceGrpc.SimpleServiceStub
    extends io.grpc.stub.AbstractAsyncStub<SimpleServiceGrpc.SimpleServiceStub>
    A stub to allow clients to do asynchronous rpc calls to service SimpleService.
     A simple service for test.
     
    • 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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.grpc.stub.StreamObserver<SimpleRequest> bidiStreamingRpc​(io.grpc.stub.StreamObserver<SimpleResponse> responseObserver)
      Simple bidirectional streaming RPC.
      protected SimpleServiceGrpc.SimpleServiceStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      io.grpc.stub.StreamObserver<SimpleRequest> clientStreamingRpc​(io.grpc.stub.StreamObserver<SimpleResponse> responseObserver)
      Simple client-to-server streaming RPC.
      void serverStreamingRpc​(SimpleRequest request, io.grpc.stub.StreamObserver<SimpleResponse> responseObserver)
      Simple server-to-client streaming RPC.
      void unaryRpc​(SimpleRequest request, io.grpc.stub.StreamObserver<SimpleResponse> responseObserver)
      Simple unary RPC.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
      • Methods inherited from class java.lang.Object

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

      • unaryRpc

        public void unaryRpc​(SimpleRequest request,
                             io.grpc.stub.StreamObserver<SimpleResponse> responseObserver)
         Simple unary RPC.
         
      • clientStreamingRpc

        public io.grpc.stub.StreamObserver<SimpleRequest> clientStreamingRpc​(io.grpc.stub.StreamObserver<SimpleResponse> responseObserver)
         Simple client-to-server streaming RPC.
         
      • serverStreamingRpc

        public void serverStreamingRpc​(SimpleRequest request,
                                       io.grpc.stub.StreamObserver<SimpleResponse> responseObserver)
         Simple server-to-client streaming RPC.
         
      • bidiStreamingRpc

        public io.grpc.stub.StreamObserver<SimpleRequest> bidiStreamingRpc​(io.grpc.stub.StreamObserver<SimpleResponse> responseObserver)
         Simple bidirectional streaming RPC.