java.lang.Object
com.google.common.util.concurrent.AbstractService
org.yamcs.tctm.AbstractLink
org.yamcs.tctm.ccsds.AbstractTcFrameLink
org.yamcs.sle.TcSleLink
- All Implemented Interfaces:
com.google.common.util.concurrent.Service,Runnable,SystemParametersProducer,SleLink,AggregatedDataLink,Link,LinkActionProvider,TcDataLink
SendsTC frames embedded in CLTU (CCSDS 231.0-B-3) via FCLTU SLE service.
-
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
FieldsFields inherited from class org.yamcs.tctm.ccsds.AbstractTcFrameLink
cltuGenerator, commandHistoryPublisher, frameCount, multiplexer, TC_FRAME_CONFIG_SECTIONFields 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 TypeMethodDescriptionprotected voidcollectSystemParameters(long time, List<ParameterValue> list) protected Link.StatusVerifies that the requested state is the same as the current stateprotected voidprotected voiddoEnable()protected voiddoStart()protected voiddoStop()CompletableFuture<org.yamcs.jsle.SleParameter> getParameter(org.yamcs.jsle.ParameterName paraName) Retrieve the value for the parameter from the SLE providervoidinit(String yamcsInstance, String name, YConfiguration config) booleanvoidrun()voidthrowEvent(int eventIdentifier, byte[] eventQualifier) Methods inherited from class org.yamcs.tctm.ccsds.AbstractTcFrameLink
ackBypassFrame, addDefaultOptions, encodeCltu, failBypassFrame, getDefaultSpec, getSubLinks, sendCommand, setCommandHistoryPublisherMethods inherited from class org.yamcs.tctm.AbstractLink
addAction, dataIn, dataOut, disable, enable, getAction, getActions, getConfig, getCurrentTime, getDataInCount, getDataOutCount, getEventLoop, getLinkStatus, getName, getParent, getSystemParameters, getYamcsInstance, isDisabled, isRunningAndEnabled, resetCounters, setParentMethods 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, getDataInCount, getDataOutCount, getLinkStatus, getName, getParent, getSpec, isDisabled, isEffectivelyDisabled, resetCounters, setParentMethods inherited from interface org.yamcs.parameter.SystemParametersProducer
getFrequencyMethods inherited from interface org.yamcs.tctm.TcDataLink
isTcDataLinkImplemented
-
Field Details
-
CMDHISTORY_SLE_REQ_KEY
- See Also:
-
CMDHISTORY_SLE_RADIATED_KEY
- See Also:
-
-
Constructor Details
-
TcSleLink
public TcSleLink()
-
-
Method Details
-
init
- Specified by:
initin interfaceLink- Overrides:
initin classAbstractTcFrameLink
-
run
public void run() -
setupSystemParameters
- Specified by:
setupSystemParametersin interfaceLink- Overrides:
setupSystemParametersin classAbstractLink
-
collectSystemParameters
- Overrides:
collectSystemParametersin classAbstractLink
-
doDisable
protected void doDisable()- Overrides:
doDisablein classAbstractLink
-
doEnable
protected void doEnable()- Overrides:
doEnablein 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
-
connectionStatus
Verifies that the requested state is the same as the current state- Specified by:
connectionStatusin classAbstractLink- Returns:
- Status.OK or Status.UNAVAIL
-
getExtraInfo
- Specified by:
getExtraInfoin interfaceLink
-
getDetailedStatus
- Specified by:
getDetailedStatusin interfaceLink- Overrides:
getDetailedStatusin classAbstractLink
-
throwEvent
-
getParameter
public CompletableFuture<org.yamcs.jsle.SleParameter> getParameter(org.yamcs.jsle.ParameterName paraName) Description copied from interface:SleLinkRetrieve the value for the parameter from the SLE provider- Specified by:
getParameterin interfaceSleLink
-
isCommandingAvailable
public boolean isCommandingAvailable()- Specified by:
isCommandingAvailablein interfaceTcDataLink
-