Package io.grpc.examples.helloworld
Class Greeter2Grpc.Greeter2BlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<Greeter2Grpc.Greeter2BlockingStub>
-
- io.grpc.examples.helloworld.Greeter2Grpc.Greeter2BlockingStub
-
- Enclosing class:
- Greeter2Grpc
public static final class Greeter2Grpc.Greeter2BlockingStub extends io.grpc.stub.AbstractBlockingStub<Greeter2Grpc.Greeter2BlockingStub>
A stub to allow clients to do synchronous rpc calls to service Greeter2.The greeting service definition.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Greeter2Grpc.Greeter2BlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)HelloReplysayHello(HelloRequest request)Sends a greeting
-
-
-
Method Detail
-
build
protected Greeter2Grpc.Greeter2BlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<Greeter2Grpc.Greeter2BlockingStub>
-
sayHello
public HelloReply sayHello(HelloRequest request)
Sends a greeting
-
-