Interface TmPacketDataLink

All Superinterfaces:
Link
All Known Implementing Classes:
AbstractIntegrationTest.PacketProvider, AbstractTcTmParamLink, AbstractTmDataLink, FilePollingTmDataLink, TcpTcTmDataLink, TcpTmDataLink, UdpTcTmDataLink, UdpTmDataLink, VcTmPacketHandler, YamcsTmArchiveLink, YamcsTmLink

public interface TmPacketDataLink extends Link
Interface for components reading packets from external parties.

The tm link should push TmPacket objects to the passed TmSink. The TmSink is implemented usually by the LinkManager; it takes care of putting these packets on the configured stream.

  • Method Details

    • setTmSink

      void setTmSink(TmSink tmSink)
      sets the tm sink that should get all the tm packets
    • isTmPacketDataLinkImplemented

      default boolean isTmPacketDataLinkImplemented()
      This method has been introduced to allow classes that implement multiple links (e.g. TM and TC) to not effectively support one ore more of them (depending on configuration)

      If this method returns false, the LinkManager skips the link configuration for TM purposes