Class ExtractionPluginServerService
java.lang.Object
org.hansken.extraction.plugin.grpc.ExtractionPluginServiceGrpc.ExtractionPluginServiceImplBase
org.hansken.plugin.extraction.runtime.grpc.server.ExtractionPluginServerService
- All Implemented Interfaces:
io.grpc.BindableService,ExtractionPluginServiceGrpc.AsyncService
public class ExtractionPluginServerService
extends ExtractionPluginServiceGrpc.ExtractionPluginServiceImplBase
Implements the actual gRPC service definition.
All RPC calls from the gRPC client to the gRPC server are handled here.
- Author:
- Netherlands Forensic Institute
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExtractionPluginServerService(Supplier<BaseExtractionPlugin> plugin, int maximumMessageSize) -
Method Summary
Modifier and TypeMethodDescriptionvoidpluginInfo(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<RpcPluginInfo> responseObserver) io.grpc.stub.StreamObserver<com.google.protobuf.Any> process(io.grpc.stub.StreamObserver<com.google.protobuf.Any> outgoingMessages) Methods inherited from class org.hansken.extraction.plugin.grpc.ExtractionPluginServiceGrpc.ExtractionPluginServiceImplBase
bindServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hansken.extraction.plugin.grpc.ExtractionPluginServiceGrpc.AsyncService
transform
-
Constructor Details
-
ExtractionPluginServerService
protected ExtractionPluginServerService(Supplier<BaseExtractionPlugin> plugin, int maximumMessageSize)
-
-
Method Details
-
pluginInfo
public void pluginInfo(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<RpcPluginInfo> responseObserver) -
process
public io.grpc.stub.StreamObserver<com.google.protobuf.Any> process(io.grpc.stub.StreamObserver<com.google.protobuf.Any> outgoingMessages)
-