Package org.yamcs.sle.provider
Class RacfServiceProvider
- java.lang.Object
-
- org.yamcs.sle.provider.RacfServiceProvider
-
- All Implemented Interfaces:
SleService
- Direct Known Subclasses:
RafServiceProvider,RcfServiceProvider
public abstract class RacfServiceProvider extends Object implements SleService
Common class for RAF and RCF service providers- Author:
- nm
-
-
Constructor Summary
Constructors Constructor Description RacfServiceProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidsendFrame(CcsdsTime ert, Constants.FrameQuality frameQuality, int dataLinkContinuity, byte[] data, int dataOffset, int dataLength)Called by theFrameDownlinkerto send a new frame.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.yamcs.sle.provider.SleService
abort, getState, init, processData, sendStatusReport, unbind
-
-
-
-
Method Detail
-
sendFrame
public abstract void sendFrame(CcsdsTime ert, Constants.FrameQuality frameQuality, int dataLinkContinuity, byte[] data, int dataOffset, int dataLength)
Called by theFrameDownlinkerto send a new frame.- Parameters:
ert-frameQuality-dataLinkContinuity- from CCSDS spec:- a value of ‘–1’ shall indicate that this is the first frame after the start of production; a value of ‘0’ shall indicate that this frame is the direct successor to the last frame acquired from the space link by RAF production;
any non-zero positive value shall indicate that this frame is not the direct successor to the
last frame acquired from the space link:
a non-zero positive value further indicates an estimate of the number of frames that were missed
since the last frame acquired before this frame; -
-
- a value of ‘1’ may be used if no better estimate is available.
data - frame datadataOffset - where in the data the buffer the frame startsdataLength - the length of the frame data