java.lang.Object
org.yamcs.tctm.ccsds.VcTmPacketHandler
- All Implemented Interfaces:
VcDownlinkHandler,Link,TmPacketDataLink
Handles packets from one Virtual Channel (VC)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.yamcs.tctm.Link
Link.Status -
Constructor Summary
ConstructorsConstructorDescriptionVcTmPacketHandler(String yamcsInstance, String name, VcDownlinkManagedParameters vmp) -
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()Disable any data I/O through this link.voidenable()Reenable the data transit if disabled by the disable() method.longlongReturns a short detail status (one-line)Returns the current link status.getName()Return the name of the linkIf this link is a sublink of an aggregated link, get the parent link.voidhandle(DownlinkTransferFrame frame) booleanreturn true if the link has been disabled by the user.voidvoidsetParent(AggregatedDataLink parent) Set the parent link if this is a sublink of an aggregated link.voidsets the tm sink that should get all the tm packetsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.yamcs.tctm.Link
getDefaultSpec, getExtraInfo, getSpec, init, isEffectivelyDisabled, setupSystemParametersMethods inherited from interface org.yamcs.tctm.TmPacketDataLink
getTmStreamName, isTmPacketDataLinkImplemented
-
Constructor Details
-
VcTmPacketHandler
-
-
Method Details
-
handle
- Specified by:
handlein interfaceVcDownlinkHandler
-
getLinkStatus
Description copied from interface:LinkReturns the current link status.- Specified by:
getLinkStatusin interfaceLink
-
getDetailedStatus
Description copied from interface:LinkReturns a short detail status (one-line)- Specified by:
getDetailedStatusin interfaceLink
-
enable
public void enable()Description copied from interface:LinkReenable the data transit if disabled by the disable() method. -
disable
public void disable()Description copied from interface:LinkDisable any data I/O through this link. Any connection to a server is closed. Can be reenabled using the enable method. Note that this method can be called before starting the service if it's configured as such in the configuration file -
isDisabled
public boolean isDisabled()Description copied from interface:Linkreturn true if the link has been disabled by the user.See also
Link.isEffectivelyDisabled()- Specified by:
isDisabledin interfaceLink
-
getDataInCount
public long getDataInCount()- Specified by:
getDataInCountin interfaceLink
-
getDataOutCount
public long getDataOutCount()- Specified by:
getDataOutCountin interfaceLink
-
resetCounters
public void resetCounters()- Specified by:
resetCountersin interfaceLink
-
setTmSink
Description copied from interface:TmPacketDataLinksets the tm sink that should get all the tm packets- Specified by:
setTmSinkin interfaceTmPacketDataLink
-
getConfig
-
getName
Description copied from interface:LinkReturn the name of the link -
getParent
Description copied from interface:LinkIf this link is a sublink of an aggregated link, get the parent link. -
setParent
Description copied from interface:LinkSet the parent link if this is a sublink of an aggregated link.
-