Package org.yamcs.tctm.ccsds
Class TcFrameFactory
java.lang.Object
org.yamcs.tctm.ccsds.TcFrameFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
int
getFramingLength
(int vcId) retrieves the headers size + CRC sizemakeBCFrame
(int vcId) makeFrame
(int vcId, int dataLength) Makes a new frame of the given length with the generation time set to the current wall clock timemakeFrame
(int vcId, int dataLength, long generationTime)
-
Constructor Details
-
TcFrameFactory
-
-
Method Details
-
makeFrame
Makes a new frame of the given length with the generation time set to the current wall clock time- Parameters:
vcId
-dataLength
-- Returns:
-
makeFrame
-
getFramingLength
public int getFramingLength(int vcId) retrieves the headers size + CRC size- Returns:
-
makeBCFrame
-
encodeFrame
-