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.
  • 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createReplay(ReplayOptions replayRequest, ReplayListener replayListener)
    create a new packet replay object
    protected void
     
    void
     
    void
     

    Methods inherited from class org.yamcs.AbstractYamcsService

    getConfig, getYamcsInstance, init

    Methods 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, 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, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync

    Methods 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:
      doStart in class com.google.common.util.concurrent.AbstractService
    • doStop

      public void doStop()
      Specified by:
      doStop in class com.google.common.util.concurrent.AbstractService