|
|||||||||
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.ccsds.AbstractService
gov.nasa.gsfc.drl.rtstps.core.ccsds.BitstreamService
public final class BitstreamService
This class extracts B_PDUs (Bitstream Protocol Data Units) from CADUs and sends them to a UnitReceiver. It does not merge B_PDUs.
Nested Class Summary | |
---|---|
(package private) class |
BitstreamService.B_PDU
This class is the "Bitstream Protocol Data Unit." |
Field Summary | |
---|---|
private BitstreamService.B_PDU |
bpdu
|
private LongStatusItem |
bpdus
|
static java.lang.String |
CLASSNAME
This is a class name for this STPS node type, which is also the element name. |
private UnitReceiver |
output
|
private UnitOutputTool |
uotool
|
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.ccsds.AbstractService |
---|
cadu, sequencer, serviceElement |
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.RtStpsNode |
---|
linkName, statusItemList, typeName |
Constructor Summary | |
---|---|
BitstreamService()
Create a BitstreamService object. |
Method Summary | |
---|---|
void |
addReceiver(Receiver receiver)
Add a Receiver to this sender's list of receivers. |
void |
finishSetup(Configuration configuration)
Finish the setup. |
void |
flush()
Flush the pipeline. |
void |
load(org.w3c.dom.Element element,
Configuration configuration)
Set up this stps node with a configuration. |
void |
putFrame(Frame frame)
Give a frame to this FrameReceiver. |
Methods inherited from class gov.nasa.gsfc.drl.rtstps.core.ccsds.AbstractService |
---|
putFrames |
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 |
---|
getLinkName, putFrames |
Field Detail |
---|
public static final java.lang.String CLASSNAME
private BitstreamService.B_PDU bpdu
private UnitReceiver output
private UnitOutputTool uotool
private LongStatusItem bpdus
Constructor Detail |
---|
public BitstreamService()
Method Detail |
---|
public void load(org.w3c.dom.Element element, Configuration configuration) throws RtStpsException
load
in class AbstractService
RtStpsException
public void addReceiver(Receiver receiver) throws RtStpsException
addReceiver
in interface Sender
receiver
- If the receiver is not of the expected type,
then the method throws an StpsException.
RtStpsException
public void finishSetup(Configuration configuration) throws RtStpsException
finishSetup
in class AbstractService
RtStpsException
public void putFrame(Frame frame) throws RtStpsException
putFrame
in interface FrameReceiver
RtStpsException
public void flush() throws RtStpsException
flush
in interface FrameReceiver
flush
in interface Receiver
RtStpsException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |