Class UdpTcFrameLink

java.lang.Object
com.google.common.util.concurrent.AbstractExecutionThreadService
org.yamcs.simulator.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
  • Constructor Summary

    Constructors
    Constructor
    Description
    UdpTcFrameLink(ColSimulator simulator, int port)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    protected void
    run()
     
    void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UdpTcFrameLink

      public UdpTcFrameLink(ColSimulator simulator, int port)
  • Method Details

    • 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()