Class PingPongGrpc.PingPongStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<PingPongGrpc.PingPongStub>
org.apache.camel.quarkus.component.grpc.it.model.PingPongGrpc.PingPongStub
Enclosing class:
PingPongGrpc

public static final class PingPongGrpc.PingPongStub extends io.grpc.stub.AbstractAsyncStub<PingPongGrpc.PingPongStub>
A stub to allow clients to do asynchronous rpc calls to service PingPong.
 The PingPong service definition.
 
  • 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

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

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

    • build

      protected PingPongGrpc.PingPongStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<PingPongGrpc.PingPongStub>
    • 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)