Package org.yamcs
Class StreamTmPacketProvider
java.lang.Object
com.google.common.util.concurrent.AbstractService
org.yamcs.AbstractProcessorService
org.yamcs.StreamTmPacketProvider
- All Implemented Interfaces:
com.google.common.util.concurrent.Service,ProcessorService,TmPacketProvider
Receives packets from yamcs streams and sends them to the Processor/TmProcessor for extraction of parameters.
Can read from multiple streams, each with its own root container used as start of XTCE packet processing
-
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 inherited from class org.yamcs.AbstractProcessorService
config, log, processor -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.yamcs.AbstractProcessorService
getConfig, getYamcsInstanceMethods inherited from class com.google.common.util.concurrent.AbstractService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.yamcs.ProcessorService
getSpecMethods inherited from interface com.google.common.util.concurrent.Service
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
-
Constructor Details
-
StreamTmPacketProvider
public StreamTmPacketProvider()
-
-
Method Details
-
init
- Specified by:
initin interfaceProcessorService- Overrides:
initin classAbstractProcessorServiceconfig- service configuration as specified in processor.yamlspec- passed by the user when creating the processor (for instance via the REST API)
-
doStart
protected void doStart()- Specified by:
doStartin classcom.google.common.util.concurrent.AbstractService
-
doStop
protected void doStop()- Specified by:
doStopin classcom.google.common.util.concurrent.AbstractService
-
isArchiveReplay
public boolean isArchiveReplay()Description copied from interface:TmPacketProvidertrue if this is a replay from archive- Specified by:
isArchiveReplayin interfaceTmPacketProvider- Returns:
-