Package io.grpc.testing.protobuf
Class SimpleServiceGrpc.SimpleServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<SimpleServiceGrpc.SimpleServiceFutureStub>
-
- io.grpc.testing.protobuf.SimpleServiceGrpc.SimpleServiceFutureStub
-
- Enclosing class:
- SimpleServiceGrpc
public static final class SimpleServiceGrpc.SimpleServiceFutureStub extends io.grpc.stub.AbstractFutureStub<SimpleServiceGrpc.SimpleServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service SimpleService.A simple service for test.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SimpleServiceGrpc.SimpleServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<SimpleResponse>unaryRpc(SimpleRequest request)Simple unary RPC.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected SimpleServiceGrpc.SimpleServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<SimpleServiceGrpc.SimpleServiceFutureStub>
-
unaryRpc
public com.google.common.util.concurrent.ListenableFuture<SimpleResponse> unaryRpc(SimpleRequest request)
Simple unary RPC.
-
-