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
,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.
-
-
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)
-
-
-
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.yamlspec
- passed by the user when creating the processor (for instance via the REST API)- Throws:
InitException
-
-