Package org.yamcs

Interface ProcessorService

All Superinterfaces:
All Known Subinterfaces:
ArchiveTmPacketProvider, CommandReleaser, ParameterProvider, TmPacketProvider
All Known Implementing Classes:
AbstractProcessorService, AlarmReporter, AlgorithmManager, LocalParameterManager, RefMdbPacketGenerator, ReplayService, StreamParameterProvider, StreamTcCommandReleaser, StreamTmPacketProvider, XtceTmProcessor

public interface ProcessorService extends
This interface has to be implemented by all services that run as part of a processor.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface,
  • Method Summary

    Modifier and Type
    default Spec
    Returns the valid configuration of the input args of this service.
    init(Processor proc, YConfiguration config, Object spec)

    Methods inherited from interface

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

    • getSpec

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

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