gov.nasa.gsfc.drl.rtstps.core.output.hdf5
Class HDF5Output

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.RtStpsNode
      extended by gov.nasa.gsfc.drl.rtstps.core.output.hdf5.HDF5Output
All Implemented Interfaces:
PacketReceiver, Receiver, java.lang.Cloneable

Deprecated.

@Deprecated
public class HDF5Output
extends RtStpsNode
implements PacketReceiver, java.lang.Cloneable


Field Summary
static java.lang.String CLASSNAME
          Deprecated. This is a class name for this RT-STPS node type.
static int CONSECUTIVE_PERMITTED_ERRORS
          Deprecated. If a channel encounters this number of consecutive write errors, it stops writing to the output device and begins discarding data.
protected  int consecutiveErrors
          Deprecated. The current number of consecutive write errors.
protected  LongStatusItem count
          Deprecated. A count of the number of units that have passed through this channel.
protected  LongStatusItem dicardedCount
          Deprecated. A count of units that the channel discarded because the consecutive error threshold was triggered.
private  boolean flushed
          Deprecated.  
protected  LongStatusItem outputErrorCount
          Deprecated. A count of units that could not be written for any reason.
private  RDRBuilderNPP rdrBuilder
          Deprecated.  
 
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.RtStpsNode
linkName, statusItemList, typeName
 
Constructor Summary
HDF5Output()
          Deprecated. Constructor.
 
Method Summary
 java.lang.Object clone()
          Deprecated.  
 void finishSetup(Configuration configuration)
          Deprecated. Finish the setup.
 void flush()
          Deprecated. Closes all the resources and finishes the HDF metadata
 void load(org.w3c.dom.Element element, Configuration configuration)
          Deprecated. Set up this stps node with a configuration.
 void putPacket(Packet packet)
          Deprecated. Write a packet to the output RDR file.
 void putPackets(Packet[] packets)
          Deprecated. Write an array of packet to the output.
 
Methods inherited from class gov.nasa.gsfc.drl.rtstps.core.RtStpsNode
clear, 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.ccsds.PacketReceiver
getLinkName
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME
Deprecated. 
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. This is the name of the element in the config file.

See Also:
Constant Field Values

CONSECUTIVE_PERMITTED_ERRORS

public static int CONSECUTIVE_PERMITTED_ERRORS
Deprecated. 
If a channel encounters this number of consecutive write errors, it stops writing to the output device and begins discarding data.


count

protected LongStatusItem count
Deprecated. 
A count of the number of units that have passed through this channel.


outputErrorCount

protected LongStatusItem outputErrorCount
Deprecated. 
A count of units that could not be written for any reason.


dicardedCount

protected LongStatusItem dicardedCount
Deprecated. 
A count of units that the channel discarded because the consecutive error threshold was triggered.


consecutiveErrors

protected int consecutiveErrors
Deprecated. 
The current number of consecutive write errors.


flushed

private boolean flushed
Deprecated. 

rdrBuilder

private RDRBuilderNPP rdrBuilder
Deprecated. 
Constructor Detail

HDF5Output

public HDF5Output()
Deprecated. 
Constructor.

Method Detail

load

public void load(org.w3c.dom.Element element,
                 Configuration configuration)
          throws RtStpsException
Deprecated. 
Set up this stps node with a configuration.

Specified by:
load in class RtStpsNode
Throws:
RtStpsException

finishSetup

public void finishSetup(Configuration configuration)
                 throws RtStpsException
Deprecated. 
Finish the setup. When this method is called, you may assume all nodes have been created and exist by name in the map, and all standard links have been resolved. This is a last chance to prepare for data flow. In this case it does nothing, all set up is done in the constructor.

Specified by:
finishSetup in class RtStpsNode
Throws:
RtStpsException

putPackets

public void putPackets(Packet[] packets)
                throws RtStpsException
Deprecated. 
Write an array of packet to the output. This just calls putPacket for each Packet in the array.

Specified by:
putPackets in interface PacketReceiver
Throws:
RtStpsException

putPacket

public void putPacket(Packet packet)
               throws RtStpsException
Deprecated. 
Write a packet to the output RDR file.

Specified by:
putPacket in interface PacketReceiver
Throws:
RtStpsException

flush

public void flush()
           throws RtStpsException
Deprecated. 
Closes all the resources and finishes the HDF metadata

Specified by:
flush in interface PacketReceiver
Specified by:
flush in interface Receiver
Throws:
RtStpsException

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Deprecated. 
Overrides:
clone in class RtStpsNode
Throws:
java.lang.CloneNotSupportedException