Package org.yamcs.tctm.ccsds
Interface VcUplinkHandler
-
- All Known Implementing Classes:
Cop1TcPacketHandler,TcPacketHandler
public interface VcUplinkHandlerHandlers uplink data in a virtual channel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetFirstFrameTimestamp()Returns the timestamp of the first frame ready to be dispatched orTimeEncoding.INVALID_INSTANTif there is no frame.TcTransferFramegetFrame()Retrieves the next frame in the Virtual Channel, or returns null if there is no frame available at the moment.VcUplinkManagedParametersgetParameters()return the virtual channel parametersvoidsetDataAvailableSemaphore(Semaphore dataAvailableSemaphore)The semaphore will be used by the virtual channel to signal toMasterChannelFrameMultiplexerthat data is available to be uplinked
-
-
-
Method Detail
-
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_INSTANTif there is no frame.The timestamp is used by the
MasterChannelFrameMultiplexerto 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
void setDataAvailableSemaphore(Semaphore dataAvailableSemaphore)
The semaphore will be used by the virtual channel to signal toMasterChannelFrameMultiplexerthat data is available to be uplinked- Parameters:
dataAvailableSemaphore-
-
-