Class ReactiveGreeterGrpc.ReactiveGreeterStub
java.lang.Object
io.grpc.stub.AbstractStub<ReactiveGreeterGrpc.ReactiveGreeterStub>
io.grpc.stub.AbstractAsyncStub<ReactiveGreeterGrpc.ReactiveGreeterStub>
helloworld.ReactiveGreeterGrpc.ReactiveGreeterStub
- Enclosing class:
ReactiveGreeterGrpc
public static final class ReactiveGreeterGrpc.ReactiveGreeterStub
extends io.grpc.stub.AbstractAsyncStub<ReactiveGreeterGrpc.ReactiveGreeterStub>
A stub to allow clients to do asynchronous rpc calls to service ReactiveGreeter.
A separate service definition used only to avoid registering two implementations of the same service name in this test application. reactive-grpc generates Reactor bindings for any standard gRPC service; a separate service definition is not required.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionprotected ReactiveGreeterGrpc.ReactiveGreeterStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidsayHello(HelloRequest request, io.grpc.stub.StreamObserver<HelloReply> responseObserver) Sends a greetingMethods 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
protected ReactiveGreeterGrpc.ReactiveGreeterStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ReactiveGreeterGrpc.ReactiveGreeterStub>
-
sayHello
public void sayHello(HelloRequest request, io.grpc.stub.StreamObserver<HelloReply> responseObserver) Sends a greeting
-