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

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.output.hdf5.SequentialPacketFactory
All Implemented Interfaces:
PacketFactoryI

public class SequentialPacketFactory
extends java.lang.Object
implements PacketFactoryI

A Packet is not created but simply re-used over and over again, although the data is copied into it. This is used specifically for the SequentialPacketReader which reads packets out of the StaticHeader, it does not interact with the PacketPool in any manner.


Field Summary
private static FrameAnnotation fa
           
private static Packet packet
           
 
Constructor Summary
SequentialPacketFactory()
           
 
Method Summary
 PacketI make(int index, byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packet

private static Packet packet

fa

private static FrameAnnotation fa
Constructor Detail

SequentialPacketFactory

public SequentialPacketFactory()
Method Detail

make

public PacketI make(int index,
                    byte[] data)
Specified by:
make in interface PacketFactoryI