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
public class ReplayServer extends AbstractYamcsService
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.
-
-
Field Summary
-
Fields inherited from class org.yamcs.AbstractYamcsService
config, log, serviceName, yamcsInstance
-
-
Constructor Summary
Constructors Constructor Description ReplayServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YarchReplay
createReplay(ReplayOptions replayRequest, ReplayListener replayListener)
create a new packet replay objectprotected void
doStart()
void
doStop()
void
replayFinished()
-
Methods inherited from class org.yamcs.AbstractYamcsService
getConfig, getYamcsInstance, init
-
Methods inherited from class com.google.common.util.concurrent.AbstractService
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, 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 com.google.common.util.concurrent.Service
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
-
Methods inherited from interface org.yamcs.YamcsService
getSpec, init
-
-
-
-
Method Detail
-
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:
doStart
in classcom.google.common.util.concurrent.AbstractService
-
doStop
public void doStop()
- Specified by:
doStop
in classcom.google.common.util.concurrent.AbstractService
-
-