gov.nasa.gsfc.drl.rtstps.core.output
Class UnitChannelB

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.RtStpsNode
      extended by gov.nasa.gsfc.drl.rtstps.core.output.AbstractChannel
          extended by gov.nasa.gsfc.drl.rtstps.core.output.AbstractUnitChannel
              extended by gov.nasa.gsfc.drl.rtstps.core.output.UnitChannelB
All Implemented Interfaces:
FrameReceiver, Receiver, UnitReceiver, java.lang.Cloneable

public final class UnitChannelB
extends AbstractUnitChannel
implements UnitReceiver, FrameReceiver, java.lang.Cloneable

POST-ANNOTATION, GENERIC OUTPUT CHANNEL. This generic output channel writes units to the output stream. It is also a FrameReceiver, so it can writes frames to an output stream too. It writes frame annotation immediately after each unit.


Field Summary
static java.lang.String CLASSNAME
          This is a class name for this RT-STPS node type.
 
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.output.AbstractChannel
AFTER, annotationOption, BEFORE, CONSECUTIVE_PERMITTED_ERRORS, consecutiveErrors, count, device, dicardedCount, FRAME, GENERIC, NO_ANNOTATION, output, outputErrorCount, PACKET, unitType
 
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.RtStpsNode
linkName, statusItemList, typeName
 
Constructor Summary
UnitChannelB()
          The constructor.
 
Method Summary
 void putUnit(Unit unit)
          Give a unit to this UnitReceiver.
 
Methods inherited from class gov.nasa.gsfc.drl.rtstps.core.output.AbstractUnitChannel
putFrame, putFrames, putUnits
 
Methods inherited from class gov.nasa.gsfc.drl.rtstps.core.output.AbstractChannel
finishSetup, flush, load, writeFrameAnnotation
 
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.UnitReceiver
flush, getLinkName, putUnits
 
Methods inherited from interface gov.nasa.gsfc.drl.rtstps.core.FrameReceiver
flush, getLinkName, putFrame, putFrames
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME
This is a class name for this RT-STPS node type. It is not the link name, which is the name of one particular object.

See Also:
Constant Field Values
Constructor Detail

UnitChannelB

public UnitChannelB()
The constructor.

Method Detail

putUnit

public void putUnit(Unit unit)
             throws RtStpsException
Give a unit to this UnitReceiver.

Specified by:
putUnit in interface UnitReceiver
Specified by:
putUnit in class AbstractUnitChannel
Throws:
RtStpsException