Package org.languagetool.rules.ml
Class PostProcessingServerGrpc.PostProcessingServerStub
java.lang.Object
io.grpc.stub.AbstractStub<PostProcessingServerGrpc.PostProcessingServerStub>
io.grpc.stub.AbstractAsyncStub<PostProcessingServerGrpc.PostProcessingServerStub>
org.languagetool.rules.ml.PostProcessingServerGrpc.PostProcessingServerStub
- Enclosing class:
PostProcessingServerGrpc
public static final class PostProcessingServerGrpc.PostProcessingServerStub
extends io.grpc.stub.AbstractAsyncStub<PostProcessingServerGrpc.PostProcessingServerStub>
A stub to allow clients to do asynchronous 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
ConstructorsModifierConstructorDescriptionprivatePostProcessingServerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidprocess(MLServerProto.PostProcessingRequest request, io.grpc.stub.StreamObserver<MLServerProto.MatchResponse> 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
-
Constructor Details
-
PostProcessingServerStub
private PostProcessingServerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected PostProcessingServerGrpc.PostProcessingServerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<PostProcessingServerGrpc.PostProcessingServerStub>
-
process
public void process(MLServerProto.PostProcessingRequest request, io.grpc.stub.StreamObserver<MLServerProto.MatchResponse> responseObserver)
-