Package proto.rpc.examples.echo.v1
Class EchoServiceGrpc.EchoServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<EchoServiceGrpc.EchoServiceStub>
proto.rpc.examples.echo.v1.EchoServiceGrpc.EchoServiceStub
- Enclosing class:
- EchoServiceGrpc
public static final class EchoServiceGrpc.EchoServiceStub
extends io.grpc.stub.AbstractAsyncStub<EchoServiceGrpc.EchoServiceStub>
A stub to allow clients to do asynchronous rpc calls to service EchoService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionprotected EchoServiceGrpc.EchoServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
echo
(Echo.EchoRequest request, io.grpc.stub.StreamObserver<Echo.EchoResponse> responseObserver) io.grpc.stub.StreamObserver<Echo.EchoBiDiRequest>
echoBiDi
(io.grpc.stub.StreamObserver<Echo.EchoBiDiResponse> responseObserver) void
echoMultiple
(Echo.EchoMultipleRequest request, io.grpc.stub.StreamObserver<Echo.EchoMultipleResponse> responseObserver) Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected EchoServiceGrpc.EchoServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<EchoServiceGrpc.EchoServiceStub>
-
echo
public void echo(Echo.EchoRequest request, io.grpc.stub.StreamObserver<Echo.EchoResponse> responseObserver) -
echoMultiple
public void echoMultiple(Echo.EchoMultipleRequest request, io.grpc.stub.StreamObserver<Echo.EchoMultipleResponse> responseObserver) -
echoBiDi
public io.grpc.stub.StreamObserver<Echo.EchoBiDiRequest> echoBiDi(io.grpc.stub.StreamObserver<Echo.EchoBiDiResponse> responseObserver)
-