Class PingPongGrpc.PingPongBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<PingPongGrpc.PingPongBlockingStub>
org.apache.camel.quarkus.component.grpc.it.model.PingPongGrpc.PingPongBlockingStub
- Enclosing class:
- PingPongGrpc
public static final class PingPongGrpc.PingPongBlockingStub
extends io.grpc.stub.AbstractBlockingStub<PingPongGrpc.PingPongBlockingStub>
A stub to allow clients to do synchronous 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.PingPongBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) pingSyncAsync(PingRequest request) Sending ping message synchronously and getting pong answer asynchronously in streaming mode (multiple response messages)pingSyncSync(PingRequest request) Sending ping message and getting pong answer synchronouslyMethods inherited from class io.grpc.stub.AbstractBlockingStub
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.PingPongBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<PingPongGrpc.PingPongBlockingStub>
-
pingSyncSync
Sending ping message and getting pong answer synchronously
-
pingSyncAsync
Sending ping message synchronously and getting pong answer asynchronously in streaming mode (multiple response messages)
-