Package org.yamcs
Interface ProcessorService
- All Superinterfaces:
com.google.common.util.concurrent.Service
- 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 com.google.common.util.concurrent.Service
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 com.google.common.util.concurrent.Service
com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
-
Method Summary
Methods inherited from interface com.google.common.util.concurrent.Service
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
-
Method Details
-
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
- Parameters:
proc
-config
- service configuration as specified in processor.yamlspec
- passed by the user when creating the processor (for instance via the REST API)- Throws:
InitException
-