Package proto.rpc.examples.echo.v1
Class EchoServiceGrpc.EchoServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<EchoServiceGrpc.EchoServiceFutureStub>
proto.rpc.examples.echo.v1.EchoServiceGrpc.EchoServiceFutureStub
- Enclosing class:
- EchoServiceGrpc
public static final class EchoServiceGrpc.EchoServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<EchoServiceGrpc.EchoServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service EchoService.
-
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 EchoServiceGrpc.EchoServiceFutureStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Echo.EchoResponse>
echo
(Echo.EchoRequest request) Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected EchoServiceGrpc.EchoServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<EchoServiceGrpc.EchoServiceFutureStub>
-
echo
public com.google.common.util.concurrent.ListenableFuture<Echo.EchoResponse> echo(Echo.EchoRequest request)
-