Package org.languagetool.rules.ml
Class ProcessingServerGrpc.ProcessingServerStub
java.lang.Object
io.grpc.stub.AbstractStub<ProcessingServerGrpc.ProcessingServerStub>
io.grpc.stub.AbstractAsyncStub<ProcessingServerGrpc.ProcessingServerStub>
org.languagetool.rules.ml.ProcessingServerGrpc.ProcessingServerStub
- Enclosing class:
ProcessingServerGrpc
public static final class ProcessingServerGrpc.ProcessingServerStub
extends io.grpc.stub.AbstractAsyncStub<ProcessingServerGrpc.ProcessingServerStub>
A stub to allow clients to do asynchronous rpc calls to service ProcessingServer.
-
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
ConstructorsModifierConstructorDescriptionprivateProcessingServerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionvoidanalyze(MLServerProto.AnalyzeRequest request, io.grpc.stub.StreamObserver<MLServerProto.AnalyzeResponse> responseObserver) build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidprocess(MLServerProto.ProcessRequest request, io.grpc.stub.StreamObserver<MLServerProto.ProcessResponse> 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
-
ProcessingServerStub
private ProcessingServerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected ProcessingServerGrpc.ProcessingServerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ProcessingServerGrpc.ProcessingServerStub>
-
analyze
public void analyze(MLServerProto.AnalyzeRequest request, io.grpc.stub.StreamObserver<MLServerProto.AnalyzeResponse> responseObserver) -
process
public void process(MLServerProto.ProcessRequest request, io.grpc.stub.StreamObserver<MLServerProto.ProcessResponse> responseObserver)
-