Package org.yamcs.tctm.ccsds
Interface VcUplinkHandler
- All Known Implementing Classes:
Cop1TcPacketHandler
,TcPacketHandler
public interface VcUplinkHandler
Handlers uplink data in a virtual channel
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the timestamp of the first frame ready to be dispatched orTimeEncoding.INVALID_INSTANT
if there is no frame.getFrame()
Retrieves the next frame in the Virtual Channel, or returns null if there is no frame available at the moment.return the virtual channel parametersvoid
setDataAvailableSemaphore
(Semaphore dataAvailableSemaphore) The semaphore will be used by the virtual channel to signal toMasterChannelFrameMultiplexer
that data is available to be uplinked
-
Method Details
-
getFrame
TcTransferFrame getFrame()Retrieves the next frame in the Virtual Channel, or returns null if there is no frame available at the moment.- Returns:
-
getFirstFrameTimestamp
long getFirstFrameTimestamp()Returns the timestamp of the first frame ready to be dispatched orTimeEncoding.INVALID_INSTANT
if there is no frame.The timestamp is used by the
MasterChannelFrameMultiplexer
to select the Virtual Channel from which the next frame is sent in case of FIFO priority scheme.- Returns:
-
getParameters
VcUplinkManagedParameters getParameters()return the virtual channel parameters- Returns:
-
setDataAvailableSemaphore
The semaphore will be used by the virtual channel to signal toMasterChannelFrameMultiplexer
that data is available to be uplinked- Parameters:
dataAvailableSemaphore
-
-