|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.core.RtStpsNode
gov.nasa.gsfc.drl.rtstps.core.FrameSenderNode
gov.nasa.gsfc.drl.rtstps.core.FrameStatus
public class FrameStatus
This class holds Frame level status. It is also a FrameReceiver, so you may plug it into a pipeline. It examines frame annotation for each frame and counts occurrences. You do not have to set an output FrameReceiver, in which case it becomes a terminal.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME
This is a class name for this RT-STPS node type, which is also the element name. |
private LongStatusItem |
crcErrors
The number of frames that have CRC errors. |
private LongStatusItem |
deleted
The number of frames marked for deletion. |
private LongStatusItem |
flywheels
The number of transmitted flywheel frames. |
private LongStatusItem |
invertedFrames
The number of inverted frames the Frame Synchronizer detected. |
private LongStatusItem |
locks
The number of lock frames. |
private LongStatusItem |
passed
The number of passed frames, i.e. |
private LongStatusItem |
rsCorrected
The number of frames that had Reed Solomon errors, which were corrected. |
private LongStatusItem |
rsUncorrectables
The number of frames that had Reed Solomon uncorrectable errors. |
private LongStatusItem |
slips
The number of slip frames. |
private LongStatusItem |
trueFrames
The number of true frames the Frame Synchronizer detected. |
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.FrameSenderNode |
---|
output |
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.RtStpsNode |
---|
linkName, statusItemList, typeName |
Constructor Summary | |
---|---|
FrameStatus()
Create a FrameStatus node. |
Method Summary | |
---|---|
void |
count(Frame frame)
Count occurrences of the frame's annotation fields. |
void |
load(org.w3c.dom.Element element,
Configuration config)
Set up this RT-STPS node with a configuration. |
void |
putFrame(Frame frame)
Give a frame to this FrameReceiver. |
void |
putFrames(Frame[] frames)
Give an array of frames to this FrameReceiver. |
Methods inherited from class gov.nasa.gsfc.drl.rtstps.core.FrameSenderNode |
---|
addReceiver, finishSetup, flush, setOutputIsRequired |
Methods inherited from class gov.nasa.gsfc.drl.rtstps.core.RtStpsNode |
---|
clear, clone, getElementName, getLinkName, getStatusItems, setLinkName, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gov.nasa.gsfc.drl.rtstps.core.FrameReceiver |
---|
flush, getLinkName |
Methods inherited from interface gov.nasa.gsfc.drl.rtstps.core.Sender |
---|
addReceiver |
Field Detail |
---|
public static final java.lang.String CLASSNAME
private LongStatusItem locks
private LongStatusItem flywheels
private LongStatusItem slips
private LongStatusItem invertedFrames
private LongStatusItem trueFrames
private LongStatusItem crcErrors
private LongStatusItem rsCorrected
private LongStatusItem rsUncorrectables
private LongStatusItem deleted
private LongStatusItem passed
Constructor Detail |
---|
public FrameStatus()
Method Detail |
---|
public void load(org.w3c.dom.Element element, Configuration config) throws RtStpsException
load
in class FrameSenderNode
RtStpsException
public void putFrames(Frame[] frames) throws RtStpsException
putFrames
in interface FrameReceiver
RtStpsException
public void putFrame(Frame frame) throws RtStpsException
putFrame
in interface FrameReceiver
RtStpsException
public void count(Frame frame)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |