Interface ExtractionPluginServiceGrpc.AsyncService
-
- All Known Implementing Classes:
ExtractionPluginServiceGrpc.ExtractionPluginServiceImplBase
- Enclosing class:
- ExtractionPluginServiceGrpc
public static interface ExtractionPluginServiceGrpc.AsyncServiceExtractionPlugin service definition, that is implemented by the extraction plugin server.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidpluginInfo(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<RpcPluginInfo> responseObserver)Returns Extraction Plugin information, that is, a full description of the extraction plugin, and it expected input and outputs.default io.grpc.stub.StreamObserver<com.google.protobuf.Any>process(io.grpc.stub.StreamObserver<com.google.protobuf.Any> responseObserver)Request from client to server to start processing a trace.default voidtransform(RpcTransformerRequest request, io.grpc.stub.StreamObserver<RpcTransformerResponse> responseObserver)Request from the client to transform an input to a response.
-
-
-
Method Detail
-
pluginInfo
default void pluginInfo(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<RpcPluginInfo> responseObserver)Returns Extraction Plugin information, that is, a full description of the extraction plugin, and it expected input and outputs.
-
process
default io.grpc.stub.StreamObserver<com.google.protobuf.Any> process(io.grpc.stub.StreamObserver<com.google.protobuf.Any> responseObserver)
Request from client to server to start processing a trace. A trace is fully processed within the scope of this method. This request opens a bi-directional communication stream between client and server. All calls required for processing a trace are handled as messages on this channel. First message should be a Start-message from client to server. The last message should be a Finish-message from server to client.
-
transform
default void transform(RpcTransformerRequest request, io.grpc.stub.StreamObserver<RpcTransformerResponse> responseObserver)
Request from the client to transform an input to a response. A plugin can provide several transform methods. Which method is used is supplied in the request. The transform is typically done using a model.
-
-