Package org.yamcs.archive
Class ReplayServer
java.lang.Object
com.google.common.util.concurrent.AbstractService
org.yamcs.AbstractYamcsService
org.yamcs.archive.ReplayServer
- All Implemented Interfaces:
com.google.common.util.concurrent.Service,YamcsService
Yarch replay server
A note about terminology: we call this replay because it provides capability to speed control/pause/resume. However,
it is not replay in terms of reprocessing the data - the data is sent as recorded in the streams.
-
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.AbstractYamcsService
config, log, serviceName, yamcsInstance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateReplay(ReplayOptions replayRequest, ReplayListener replayListener) create a new packet replay objectprotected voiddoStart()voiddoStop()voidMethods inherited from class org.yamcs.AbstractYamcsService
findStream, getConfig, getYamcsInstance, initMethods 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 com.google.common.util.concurrent.Service
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsyncMethods inherited from interface org.yamcs.YamcsService
getSpec
-
Constructor Details
-
ReplayServer
public ReplayServer()
-
-
Method Details
-
createReplay
public YarchReplay createReplay(ReplayOptions replayRequest, ReplayListener replayListener) throws YamcsException create a new packet replay object- Returns:
- a replay object
- Throws:
YamcsException
-
replayFinished
public void replayFinished() -
doStart
protected void doStart()- Specified by:
doStartin classcom.google.common.util.concurrent.AbstractService
-
doStop
public void doStop()- Specified by:
doStopin classcom.google.common.util.concurrent.AbstractService
-