Package org.yamcs.simulator
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.AbstractExecutionThreadServiceSimulator 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)
-
-
Constructor Summary
Constructors Constructor Description UdpTcFrameLink(ColSimulator simulator, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetClcw()protected voidrun()voidstartUp()-
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:
startUpin classcom.google.common.util.concurrent.AbstractExecutionThreadService- Throws:
IOException
-
run
protected void run() throws Exception- Specified by:
runin classcom.google.common.util.concurrent.AbstractExecutionThreadService- Throws:
Exception
-
getClcw
public int getClcw()
-
-