- All Known Implementing Classes:
Cop1TcPacketHandler,TcPacketHandler
public interface VcUplinkHandler
Handlers uplink data in a virtual channel
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the timestamp of the first frame ready to be dispatched orTimeEncoding.INVALID_INSTANTif 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 parametersvoidsetDataAvailableSemaphore(Semaphore dataAvailableSemaphore) The semaphore will be used by the virtual channel to signal toMasterChannelFrameMultiplexerthat 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_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
The semaphore will be used by the virtual channel to signal toMasterChannelFrameMultiplexerthat data is available to be uplinked- Parameters:
dataAvailableSemaphore-
-