Package org.languagetool.rules.ml
Class PostProcessingServerGrpc.PostProcessingServerFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<PostProcessingServerGrpc.PostProcessingServerFutureStub>
io.grpc.stub.AbstractFutureStub<PostProcessingServerGrpc.PostProcessingServerFutureStub>
org.languagetool.rules.ml.PostProcessingServerGrpc.PostProcessingServerFutureStub
- Enclosing class:
PostProcessingServerGrpc
public static final class PostProcessingServerGrpc.PostProcessingServerFutureStub
extends io.grpc.stub.AbstractFutureStub<PostProcessingServerGrpc.PostProcessingServerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service PostProcessingServer.
for e.g. resorting suggestions
-
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>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePostProcessingServerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<MLServerProto.MatchResponse> Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Constructor Details
-
PostProcessingServerFutureStub
private PostProcessingServerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected PostProcessingServerGrpc.PostProcessingServerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<PostProcessingServerGrpc.PostProcessingServerFutureStub>
-
process
public com.google.common.util.concurrent.ListenableFuture<MLServerProto.MatchResponse> process(MLServerProto.PostProcessingRequest request)
-