Package io.grpc.testing.protobuf
Class SimpleServiceGrpc.SimpleServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<SimpleServiceGrpc.SimpleServiceBlockingStub>
-
- io.grpc.testing.protobuf.SimpleServiceGrpc.SimpleServiceBlockingStub
-
- Enclosing class:
- SimpleServiceGrpc
public static final class SimpleServiceGrpc.SimpleServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<SimpleServiceGrpc.SimpleServiceBlockingStub>
A stub to allow clients to do synchronous 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.SimpleServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)Iterator<SimpleResponse>serverStreamingRpc(SimpleRequest request)Simple server-to-client streaming RPC.SimpleResponseunaryRpc(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.SimpleServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<SimpleServiceGrpc.SimpleServiceBlockingStub>
-
unaryRpc
public SimpleResponse unaryRpc(SimpleRequest request)
Simple unary RPC.
-
serverStreamingRpc
public Iterator<SimpleResponse> serverStreamingRpc(SimpleRequest request)
Simple server-to-client streaming RPC.
-
-