Package org.yamcs.simulator
Class SimulatorCcsdsPacket
- java.lang.Object
-
- org.yamcs.tctm.CcsdsPacket
-
- org.yamcs.simulator.SimulatorCcsdsPacket
-
- Direct Known Subclasses:
CfdpCcsdsPacket,ColumbusCcsdsPacket,PusTcPacket,PusTmPacket,PusTmTimePacket
public abstract class SimulatorCcsdsPacket extends CcsdsPacket
-
-
Field Summary
Fields Modifier and Type Field Description protected static HashMap<Integer,AtomicInteger>seqMap-
Fields inherited from class org.yamcs.tctm.CcsdsPacket
bb
-
-
Constructor Summary
Constructors Constructor Description SimulatorCcsdsPacket(byte[] packet)SimulatorCcsdsPacket(ByteBuffer bb)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidfillChecksum()protected static intgetSeq(int apid)abstract ByteBuffergetUserDataBuffer()-
Methods inherited from class org.yamcs.tctm.CcsdsPacket
appendBinaryData, getAPID, getAPID, getAPID, getByteBuffer, getBytes, getCccsdsPacketLength, getCccsdsPacketLength, getCccsdsPacketLength, getChecksumIndicator, getChecksumIndicator, getCoarseTime, getLength, getSecondaryHeaderFlag, getSecondaryHeaderFlag, getSequenceCount, getSequenceCount, getSequenceCount, getTimeId, setAPID, setCccsdsPacketLength, setHeader, setSequenceCount, toString
-
-
-
-
Field Detail
-
seqMap
protected static HashMap<Integer,AtomicInteger> seqMap
-
-
Constructor Detail
-
SimulatorCcsdsPacket
public SimulatorCcsdsPacket(byte[] packet)
-
SimulatorCcsdsPacket
public SimulatorCcsdsPacket(ByteBuffer bb)
-
-
Method Detail
-
getUserDataBuffer
public abstract ByteBuffer getUserDataBuffer()
-
fillChecksum
protected abstract void fillChecksum()
-
getSeq
protected static int getSeq(int apid)
-
-