Class ReactiveGreeterGrpc.ReactiveGreeterFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<ReactiveGreeterGrpc.ReactiveGreeterFutureStub>
io.grpc.stub.AbstractFutureStub<ReactiveGreeterGrpc.ReactiveGreeterFutureStub>
helloworld.ReactiveGreeterGrpc.ReactiveGreeterFutureStub
- Enclosing class:
ReactiveGreeterGrpc
public static final class ReactiveGreeterGrpc.ReactiveGreeterFutureStub
extends io.grpc.stub.AbstractFutureStub<ReactiveGreeterGrpc.ReactiveGreeterFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ReactiveGreeter.
A separate service definition used only to avoid registering two implementations of the same service name in this test application. reactive-grpc generates Reactor bindings for any standard gRPC service; a separate service definition is not required.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<HelloReply> sayHello(HelloRequest request) Sends a greetingMethods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ReactiveGreeterGrpc.ReactiveGreeterFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ReactiveGreeterGrpc.ReactiveGreeterFutureStub>
-
sayHello
public com.google.common.util.concurrent.ListenableFuture<HelloReply> sayHello(HelloRequest request) Sends a greeting
-