Class PingPongGrpc.PingPongFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<PingPongGrpc.PingPongFutureStub>
org.apache.camel.quarkus.component.grpc.it.model.PingPongGrpc.PingPongFutureStub
- Enclosing class:
- PingPongGrpc
public static final class PingPongGrpc.PingPongFutureStub
extends io.grpc.stub.AbstractFutureStub<PingPongGrpc.PingPongFutureStub>
A stub to allow clients to do ListenableFuture-style 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.PingPongFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<PongResponse>pingSyncSync(PingRequest request) Sending ping message and getting pong answer synchronouslyMethods inherited from class io.grpc.stub.AbstractFutureStub
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
protected PingPongGrpc.PingPongFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<PingPongGrpc.PingPongFutureStub>
-
pingSyncSync
public com.google.common.util.concurrent.ListenableFuture<PongResponse> pingSyncSync(PingRequest request) Sending ping message and getting pong answer synchronously
-