Class GreeterGrpc.GreeterStub
java.lang.Object
io.grpc.stub.AbstractStub<GreeterGrpc.GreeterStub>
io.grpc.stub.AbstractAsyncStub<GreeterGrpc.GreeterStub>
org.example.grpc.GreeterGrpc.GreeterStub
- Enclosing class:
GreeterGrpc
public static final class GreeterGrpc.GreeterStub
extends io.grpc.stub.AbstractAsyncStub<GreeterGrpc.GreeterStub>
A stub to allow clients to do asynchronous rpc calls to service Greeter.
-
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.GreeterStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidsayHello(HelloRequest request, io.grpc.stub.StreamObserver<HelloResponse> responseObserver) Methods inherited from class io.grpc.stub.AbstractAsyncStub
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
- Specified by:
buildin classio.grpc.stub.AbstractStub<GreeterGrpc.GreeterStub>
-
sayHello
public void sayHello(HelloRequest request, io.grpc.stub.StreamObserver<HelloResponse> responseObserver)
-