public static final class SimpleGrpc.SimpleStub extends io.grpc.stub.AbstractStub<SimpleGrpc.SimpleStub>
The greeting service definition.
| 限定符和类型 | 方法和说明 |
|---|---|
protected SimpleGrpc.SimpleStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
sayHello(HelloRequest request,
io.grpc.stub.StreamObserver<HelloReply> responseObserver)
Sends a greeting
|
protected SimpleGrpc.SimpleStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build 在类中 io.grpc.stub.AbstractStub<SimpleGrpc.SimpleStub>public void sayHello(HelloRequest request, io.grpc.stub.StreamObserver<HelloReply> responseObserver)
Sends a greeting
Copyright © 2023. All rights reserved.