Class GreeterGrpc.GreeterBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<GreeterGrpc.GreeterBlockingStub>
io.grpc.stub.AbstractBlockingStub<GreeterGrpc.GreeterBlockingStub>
helloworld.GreeterGrpc.GreeterBlockingStub
- Enclosing class:
GreeterGrpc
public static final class GreeterGrpc.GreeterBlockingStub
extends io.grpc.stub.AbstractBlockingStub<GreeterGrpc.GreeterBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service Greeter.
The greeting service definition.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionprotected GreeterGrpc.GreeterBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) sayHello(HelloRequest request) Sends a greetingMethods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected GreeterGrpc.GreeterBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GreeterGrpc.GreeterBlockingStub>
-
sayHello
Sends a greeting
-