Class GreeterGrpc.GreeterFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<GreeterGrpc.GreeterFutureStub>
io.grpc.stub.AbstractFutureStub<GreeterGrpc.GreeterFutureStub>
helloworld.GreeterGrpc.GreeterFutureStub
- Enclosing class:
GreeterGrpc
public static final class GreeterGrpc.GreeterFutureStub
extends io.grpc.stub.AbstractFutureStub<GreeterGrpc.GreeterFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Greeter.
The greeting service definition.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionprotected GreeterGrpc.GreeterFutureStubbuild(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 GreeterGrpc.GreeterFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GreeterGrpc.GreeterFutureStub>
-
sayHello
public com.google.common.util.concurrent.ListenableFuture<HelloReply> sayHello(HelloRequest request) Sends a greeting
-