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 TypeMethodDescriptionprotected PingPongGrpc.PingPongStubbuild(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 synchronouslyvoidpingSyncAsync(PingRequest request, io.grpc.stub.StreamObserver<PongResponse> responseObserver) Sending ping message synchronously and getting pong answer asynchronously in streaming mode (multiple response messages)voidpingSyncSync(PingRequest request, io.grpc.stub.StreamObserver<PongResponse> responseObserver) Sending ping message and getting pong answer synchronouslyMethods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.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)
-