Package org.yamcs.sle.provider
Class RacfServiceProvider
java.lang.Object
org.yamcs.sle.provider.RacfServiceProvider
- All Implemented Interfaces:
SleService
- Direct Known Subclasses:
RafServiceProvider,RcfServiceProvider
Common class for RAF and RCF service providers
- Author:
- nm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract 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, waitMethods inherited from interface org.yamcs.sle.provider.SleService
abort, getState, init, processData, sendStatusReport, unbind
-
Constructor Details
-
RacfServiceProvider
public RacfServiceProvider()
-
-
Method Details
-
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;</li
- 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;</li
- any non-zero positive value shall indicate that this frame is not the direct successor to the last frame acquired from the space link:</li
- 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
-