Package io.grpc.examples.helloworld
Class GreeterGrpc.GreeterFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<GreeterGrpc.GreeterFutureStub>
-
- io.grpc.examples.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GreeterGrpc.GreeterFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<HelloReply>sayHello(HelloRequest request)Sends a greeting
-
-
-
Method Detail
-
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
-
-