Package io.grpc.examples.helloworld
Class Greeter2Grpc.Greeter2FutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<Greeter2Grpc.Greeter2FutureStub>
-
- io.grpc.examples.helloworld.Greeter2Grpc.Greeter2FutureStub
-
- Enclosing class:
- Greeter2Grpc
public static final class Greeter2Grpc.Greeter2FutureStub extends io.grpc.stub.AbstractFutureStub<Greeter2Grpc.Greeter2FutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Greeter2.The greeting service definition.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Greeter2Grpc.Greeter2FutureStubbuild(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 Greeter2Grpc.Greeter2FutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<Greeter2Grpc.Greeter2FutureStub>
-
sayHello
public com.google.common.util.concurrent.ListenableFuture<HelloReply> sayHello(HelloRequest request)
Sends a greeting
-
-