Package io.grpc.benchmarks.proto
Class BenchmarkServiceGrpc.BenchmarkServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<BenchmarkServiceGrpc.BenchmarkServiceFutureStub>
-
- io.grpc.benchmarks.proto.BenchmarkServiceGrpc.BenchmarkServiceFutureStub
-
- Enclosing class:
- BenchmarkServiceGrpc
public static final class BenchmarkServiceGrpc.BenchmarkServiceFutureStub extends io.grpc.stub.AbstractFutureStub<BenchmarkServiceGrpc.BenchmarkServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service BenchmarkService.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BenchmarkServiceGrpc.BenchmarkServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<Messages.SimpleResponse>unaryCall(Messages.SimpleRequest request)One request followed by one response.
-
-
-
Method Detail
-
build
protected BenchmarkServiceGrpc.BenchmarkServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<BenchmarkServiceGrpc.BenchmarkServiceFutureStub>
-
unaryCall
public com.google.common.util.concurrent.ListenableFuture<Messages.SimpleResponse> unaryCall(Messages.SimpleRequest request)
One request followed by one response. The server returns the client payload as-is.
-
-