Package io.grpc.examples.helloworld
Class GreeterGrpc.GreeterBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<GreeterGrpc.GreeterBlockingStub>
-
- io.grpc.examples.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 synchronous rpc calls to service Greeter.The greeting service definition.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GreeterGrpc.GreeterBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)HelloReplysayHello(HelloRequest request)Sends a greeting
-
-
-
Method Detail
-
build
protected GreeterGrpc.GreeterBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<GreeterGrpc.GreeterBlockingStub>
-
sayHello
public HelloReply sayHello(HelloRequest request)
Sends a greeting
-
-