Class ExtractionPluginServiceGrpc.ExtractionPluginServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<ExtractionPluginServiceGrpc.ExtractionPluginServiceStub>
io.grpc.stub.AbstractAsyncStub<ExtractionPluginServiceGrpc.ExtractionPluginServiceStub>
org.hansken.extraction.plugin.grpc.ExtractionPluginServiceGrpc.ExtractionPluginServiceStub
Enclosing class:
ExtractionPluginServiceGrpc

public static final class ExtractionPluginServiceGrpc.ExtractionPluginServiceStub extends io.grpc.stub.AbstractAsyncStub<ExtractionPluginServiceGrpc.ExtractionPluginServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ExtractionPluginService.

 ExtractionPlugin service definition, that is implemented by the extraction
 plugin server.
 
  • 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>>
  • Method Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    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.
    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.
    void
    transform(RpcTransformerRequest request, io.grpc.stub.StreamObserver<RpcTransformerResponse> responseObserver)
    Request from the client to transform an input to a response.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected ExtractionPluginServiceGrpc.ExtractionPluginServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ExtractionPluginServiceGrpc.ExtractionPluginServiceStub>
    • pluginInfo

      public 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

      public 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

      public 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.