Package org.yamcs

Interface ProcessorService

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service

        com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default Spec getSpec()
      Returns the valid configuration of the input args of this service.
      void init​(Processor proc, YConfiguration config, Object spec)  
      • Methods inherited from interface com.google.common.util.concurrent.Service

        addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
    • Method Detail

      • getSpec

        default Spec getSpec()
        Returns the valid configuration of the input args of this service.
        Returns:
        the argument specification, or null if the args should not be validated.
      • init

        void init​(Processor proc,
                  YConfiguration config,
                  Object spec)
           throws InitException
        Parameters:
        proc -
        config - service configuration as specified in processor.yaml
        spec - passed by the user when creating the processor (for instance via the REST API)
        Throws:
        InitException