Package io.grpc.benchmarks.proto
Class BenchmarkServiceGrpc.BenchmarkServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<BenchmarkServiceGrpc.BenchmarkServiceBlockingStub>
-
- io.grpc.benchmarks.proto.BenchmarkServiceGrpc.BenchmarkServiceBlockingStub
-
- Enclosing class:
- BenchmarkServiceGrpc
public static final class BenchmarkServiceGrpc.BenchmarkServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<BenchmarkServiceGrpc.BenchmarkServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service BenchmarkService.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BenchmarkServiceGrpc.BenchmarkServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)java.util.Iterator<Messages.SimpleResponse>streamingFromServer(Messages.SimpleRequest request)Single-sided unbounded streaming from server to client The server repeatedly returns the client payload as-isMessages.SimpleResponseunaryCall(Messages.SimpleRequest request)One request followed by one response.
-
-
-
Method Detail
-
build
protected BenchmarkServiceGrpc.BenchmarkServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<BenchmarkServiceGrpc.BenchmarkServiceBlockingStub>
-
unaryCall
public Messages.SimpleResponse unaryCall(Messages.SimpleRequest request)
One request followed by one response. The server returns the client payload as-is.
-
streamingFromServer
public java.util.Iterator<Messages.SimpleResponse> streamingFromServer(Messages.SimpleRequest request)
Single-sided unbounded streaming from server to client The server repeatedly returns the client payload as-is
-
-