Package org.yamcs

Class AbstractProcessorService

java.lang.Object
com.google.common.util.concurrent.AbstractService
org.yamcs.AbstractProcessorService
All Implemented Interfaces:
com.google.common.util.concurrent.Service, ProcessorService
Direct Known Subclasses:
AlarmReporter, AlgorithmManager, LocalParameterManager, ReplayService, StreamParameterProvider, StreamTcCommandReleaser, StreamTmPacketProvider, XtceTmProcessor

public abstract class AbstractProcessorService extends com.google.common.util.concurrent.AbstractService implements 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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected YConfiguration
     
    protected Log
     
    protected Processor
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    void
    init(Processor proc, YConfiguration config, Object spec)
     

    Methods inherited from class com.google.common.util.concurrent.AbstractService

    addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, doStart, doStop, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.yamcs.ProcessorService

    getSpec

    Methods inherited from interface com.google.common.util.concurrent.Service

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

  • Constructor Details

    • AbstractProcessorService

      public AbstractProcessorService()
  • Method Details

    • init

      public void init(Processor proc, YConfiguration config, Object spec)
      Specified by:
      init in interface ProcessorService
      config - service configuration as specified in processor.yaml
      spec - passed by the user when creating the processor (for instance via the REST API)
    • getYamcsInstance

      public String getYamcsInstance()
    • getConfig

      public YConfiguration getConfig()