Package org.yamcs.tctm.ccsds
Class MasterChannelFrameHandler
- java.lang.Object
-
- org.yamcs.tctm.ccsds.MasterChannelFrameHandler
-
public class MasterChannelFrameHandler extends Object
Handles incoming TM frames by distributing them to different VirtualChannelHandlers
-
-
Constructor Summary
Constructors Constructor Description MasterChannelFrameHandler(String yamcsInstance, String linkName, YConfiguration config)
Constructs based on the configuration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferFrameDecoder.CcsdsFrameType
getFrameType()
int
getMaxFrameSize()
int
getMinFrameSize()
int
getSpacecraftId()
Collection<VcDownlinkHandler>
getVcHandlers()
void
handleFrame(Instant ertime, byte[] data, int offset, int length)
-
-
-
Constructor Detail
-
MasterChannelFrameHandler
public MasterChannelFrameHandler(String yamcsInstance, String linkName, YConfiguration config)
Constructs based on the configuration- Parameters:
config
-
-
-
Method Detail
-
handleFrame
public void handleFrame(Instant ertime, byte[] data, int offset, int length) throws TcTmException
- Throws:
TcTmException
-
getMaxFrameSize
public int getMaxFrameSize()
-
getMinFrameSize
public int getMinFrameSize()
-
getVcHandlers
public Collection<VcDownlinkHandler> getVcHandlers()
-
getSpacecraftId
public int getSpacecraftId()
-
getFrameType
public TransferFrameDecoder.CcsdsFrameType getFrameType()
-
-