Class UdpTcFrameLink

  • All Implemented Interfaces:
    com.google.common.util.concurrent.Service

    public class UdpTcFrameLink
    extends com.google.common.util.concurrent.AbstractExecutionThreadService
    Simulator TC link implementing the CCSDS 232.0-B-3 (TC SPACE DATA LINK PROTOCOL)

    and partly CCSDS 231.0-B-3 (TC SYNCHRONIZATION AND CHANNEL CODING)

    It receives TCs as CLTUs via UDP (one UDP frame = one CLTU)

    • Nested Class Summary

      • Nested 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getClcw()  
      protected void run()  
      void startUp()  
      • Methods inherited from class com.google.common.util.concurrent.AbstractExecutionThreadService

        addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, shutDown, startAsync, state, stopAsync, toString, triggerShutdown
    • Constructor Detail

      • UdpTcFrameLink

        public UdpTcFrameLink​(ColSimulator simulator,
                              int port)
    • Method Detail

      • startUp

        public void startUp()
                     throws IOException
        Overrides:
        startUp in class com.google.common.util.concurrent.AbstractExecutionThreadService
        Throws:
        IOException
      • run

        protected void run()
                    throws Exception
        Specified by:
        run in class com.google.common.util.concurrent.AbstractExecutionThreadService
        Throws:
        Exception
      • getClcw

        public int getClcw()