Class PingPongGrpc.PingPongStub

    • 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
      protected PingPongGrpc.PingPongStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      io.grpc.stub.StreamObserver<PingRequest> pingAsyncAsync​(io.grpc.stub.StreamObserver<PongResponse> responseObserver)
      Sending ping message asynchronously and getting pong answer asynchronously in streaming mode (multiple response messages)
      io.grpc.stub.StreamObserver<PingRequest> pingAsyncSync​(io.grpc.stub.StreamObserver<PongResponse> responseObserver)
      Sending ping message asynchronously and getting pong answer synchronously
      void pingSyncAsync​(PingRequest request, io.grpc.stub.StreamObserver<PongResponse> responseObserver)
      Sending ping message synchronously and getting pong answer asynchronously in streaming mode (multiple response messages)
      void pingSyncSync​(PingRequest request, io.grpc.stub.StreamObserver<PongResponse> responseObserver)
      Sending ping message and getting pong answer synchronously
      • 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
    • Method Detail

      • pingSyncSync

        public void pingSyncSync​(PingRequest request,
                                 io.grpc.stub.StreamObserver<PongResponse> responseObserver)
         Sending ping message and getting pong answer synchronously
         
      • pingSyncAsync

        public void pingSyncAsync​(PingRequest request,
                                  io.grpc.stub.StreamObserver<PongResponse> responseObserver)
         Sending ping message synchronously and getting pong answer asynchronously in streaming mode (multiple response messages)
         
      • pingAsyncSync

        public io.grpc.stub.StreamObserver<PingRequest> pingAsyncSync​(io.grpc.stub.StreamObserver<PongResponse> responseObserver)
         Sending ping message asynchronously and getting pong answer synchronously
         
      • pingAsyncAsync

        public io.grpc.stub.StreamObserver<PingRequest> pingAsyncAsync​(io.grpc.stub.StreamObserver<PongResponse> responseObserver)
         Sending ping message asynchronously and getting pong answer asynchronously in streaming mode (multiple response messages)