Package org.yamcs.ygw
Class YgwReplayLink
java.lang.Object
com.google.common.util.concurrent.AbstractService
org.yamcs.tctm.AbstractLink
org.yamcs.ygw.YgwReplayLink
- All Implemented Interfaces:
com.google.common.util.concurrent.Service,SystemParametersProducer,AggregatedDataLink,Link,LinkActionProvider
Groups all the sub-links in replay mode
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.yamcs.tctm.Link
Link.StatusNested 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.tctm.AbstractLink
config, dataInCount, dataOutCount, disabled, eventProducer, LINK_NAMESPACE, linkName, log, timeService, yamcsInstance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubLink(YgwNodeLink nodeLink) voidCalled byYgwLinkwhen a list of nodes is received from the Yamcs Gatewayvoidprotected Link.Statusprotected voiddoStart()protected voiddoStop()longvoidinit(String instance, String name, YConfiguration config) voidscheduleReplay(long startRn, long stopRn) Methods inherited from class org.yamcs.tctm.AbstractLink
addAction, collectSystemParameters, dataIn, dataOut, disable, doDisable, doEnable, enable, getAction, getActions, getConfig, getCurrentTime, getDataOutCount, getDetailedStatus, getEventLoop, getLinkStatus, getName, getSystemParameters, getYamcsInstance, isDisabled, isRunningAndEnabled, resetCounters, setParent, setupSystemParametersMethods 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.tctm.Link
disable, enable, getConfig, getDataOutCount, getDefaultSpec, getDetailedStatus, getExtraInfo, getLinkStatus, getName, getSpec, isDisabled, isEffectivelyDisabled, resetCounters, setParent, setupSystemParametersMethods inherited from interface org.yamcs.parameter.SystemParametersProducer
getFrequency
-
Constructor Details
-
YgwReplayLink
-
-
Method Details
-
init
- Specified by:
initin interfaceLink- Overrides:
initin classAbstractLink
-
getSubLinks
- Specified by:
getSubLinksin interfaceAggregatedDataLink
-
connectionStatus
- Specified by:
connectionStatusin classAbstractLink
-
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
-
addSubLink
-
getParent
- Specified by:
getParentin interfaceLink- Overrides:
getParentin classAbstractLink
-
scheduleReplay
public void scheduleReplay(long startRn, long stopRn) -
cleanNodes
public void cleanNodes()Called byYgwLinkwhen a list of nodes is received from the Yamcs Gateway -
cleanReplays
public void cleanReplays() -
getDataInCount
public long getDataInCount()- Specified by:
getDataInCountin interfaceLink- Overrides:
getDataInCountin classAbstractLink
-