java.lang.Object
com.google.common.util.concurrent.AbstractService
org.yamcs.tctm.AbstractLink
org.yamcs.tse.TseDataLink
- All Implemented Interfaces:
com.google.common.util.concurrent.Service,SystemParametersProducer,Link
-
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, disabled, eventProducer, linkName, log, timeService, yamcsInstance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Link.Statusprotected voidprotected voiddoEnable()protected voiddoStart()protected voiddoStop()longlongvoidinit(String yamcsInstance, String name, YConfiguration config) voidMethods inherited from class org.yamcs.tctm.AbstractLink
collectSystemParameters, disable, enable, getConfig, getCurrentTime, getEventLoop, getLinkStatus, getName, getSystemParameters, isDisabled, isRunningAndEnabled, 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
getParent, getSpec, isEffectivelyDisabled, setParentMethods inherited from interface org.yamcs.parameter.SystemParametersProducer
getFrequency, getSystemParameters
-
Constructor Details
-
TseDataLink
public TseDataLink()
-
-
Method Details
-
init
- Specified by:
initin interfaceLink- Overrides:
initin classAbstractLink
-
getDetailedStatus
- Specified by:
getDetailedStatusin interfaceLink- Overrides:
getDetailedStatusin classAbstractLink
-
getDataInCount
public long getDataInCount() -
getDataOutCount
public long getDataOutCount() -
resetCounters
public void resetCounters() -
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
-
doEnable
- Overrides:
doEnablein classAbstractLink- Throws:
Exception
-
doDisable
- Overrides:
doDisablein classAbstractLink- Throws:
Exception
-
connectionStatus
- Specified by:
connectionStatusin classAbstractLink
-